diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-01-01 19:33:16 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-01-01 19:33:16 (GMT) |
commit | 19c8e78717c58404bf7feaff0ba6d756cdb92bc2 (patch) | |
tree | 221890dc590ab5385486b1998c123a9375186211 /abs/core-testing/linhes-scripts/linhes_update.sh | |
parent | 3cd73842ccc0a47f7ac1d952e2c1371388f2350f (diff) | |
download | linhes_pkgbuild-19c8e78717c58404bf7feaff0ba6d756cdb92bc2.zip linhes_pkgbuild-19c8e78717c58404bf7feaff0ba6d756cdb92bc2.tar.gz linhes_pkgbuild-19c8e78717c58404bf7feaff0ba6d756cdb92bc2.tar.bz2 |
linhes-scripts:updates upgrade scripts to ensure clean display of messages.
Diffstat (limited to 'abs/core-testing/linhes-scripts/linhes_update.sh')
-rw-r--r-- | abs/core-testing/linhes-scripts/linhes_update.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/abs/core-testing/linhes-scripts/linhes_update.sh b/abs/core-testing/linhes-scripts/linhes_update.sh index 8fdb665..39d2817 100644 --- a/abs/core-testing/linhes-scripts/linhes_update.sh +++ b/abs/core-testing/linhes-scripts/linhes_update.sh @@ -2,10 +2,11 @@ dsply () { if grep -q Updates\ Available /usr/share/mythtv/themes/defaultmenu/linhes.xml then - killall osd_cat + killall -9 osd_cat echo -e "Updates available!\n Exit and reenter Service Menu\n to perform updates." | osd_cat -p middle -s 5 -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 10 -A centre exit else + killall -9 osd_cat echo -e "Checking for updates." | osd_cat -p middle -s 5 -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 300 -A centre & fi } @@ -15,7 +16,7 @@ chck () { # sudo grep Target /tmp/check_update > /tmp/to_be_upgraded if grep -q no\ upgrades\ found /tmp/check_update then - killall osd_cat + killall -9 osd_cat echo -e "No updates available\n at this time." | osd_cat -p middle -s 5 -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 5 -A centre else mv /usr/share/mythtv/themes/defaultmenu/linhes.xml /tmp/linhes.xml.tmp |