diff options
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 27ada60..6890d26 100644 --- a/abs/core-testing/linhes-scripts/linhes_update.sh +++ b/abs/core-testing/linhes-scripts/linhes_update.sh @@ -10,8 +10,9 @@ dsply () { fi } chck () { - sudo pacman -Sy > /tmp/check_update - if grep -q is\ up\ to\ date /tmp/check_update + sudo pacman -Sy + sudo pacman -Qu > /tmp/check_update + if grep -q no\ upgrades\ found /tmp/check_update then killall 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 |