diff options
author | Florian Pritz <f-p@gmx.at> | 2009-04-03 20:37:26 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-04-03 20:37:26 +0200 |
commit | 07f70d71c16ac614e8083fd4edbd2f19b3328e0c (patch) | |
tree | 0bf9c02a4b6c92da0ec1210d8008f6e7918d6eaa /update_checker.sh | |
parent | 6ebfde39f44ba5d4ff0ab9e649d62d2314d39a9a (diff) | |
download | bin-07f70d71c16ac614e8083fd4edbd2f19b3328e0c.tar.gz bin-07f70d71c16ac614e8083fd4edbd2f19b3328e0c.tar.xz |
fixed update_checker
Diffstat (limited to 'update_checker.sh')
-rwxr-xr-x | update_checker.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/update_checker.sh b/update_checker.sh index c9664e6..8860489 100755 --- a/update_checker.sh +++ b/update_checker.sh @@ -1,6 +1,6 @@ #!/bin/bash #---------------------------------------------------- -# Version: 0.1.1 +# Version: 0.1.1.1 # Author: Florian "Bluewind" Pritz <f-p@gmx.at> # # Copyright (C) 2008-2009 Florian Pritz @@ -11,8 +11,8 @@ #---------------------------------------------------- # Shows if package updates are available #---------------------------------------------------- - -cmd="LC_ALL=C pacman -Qu" +export LC_ALL=C +cmd="pacman -Qu" pac_num=$($cmd | grep -o "Targets ([0-9]*)" | sed 's/Targets (//; s/)//') #$cmd | grep "Total Download Size: .*MB" | grep -o "[0-9].*" |