diff options
author | Florian Pritz <f-p@gmx.at> | 2009-03-26 21:18:29 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-03-26 21:18:29 +0100 |
commit | 103b5a0eec810a91526ee9fda7acd9867780e733 (patch) | |
tree | 870b91662b8298785006090ec4489b2c2b721312 | |
parent | b3f4b23a64fb4bf83b48393741b07111382c661f (diff) | |
download | bin-103b5a0eec810a91526ee9fda7acd9867780e733.tar.gz bin-103b5a0eec810a91526ee9fda7acd9867780e733.tar.xz |
fixed bug when language wasn't english
-rwxr-xr-x | update_checker.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update_checker.sh b/update_checker.sh index f49e44d..c9664e6 100755 --- a/update_checker.sh +++ b/update_checker.sh @@ -1,6 +1,6 @@ #!/bin/bash #---------------------------------------------------- -# Version: 0.1.0 +# Version: 0.1.1 # Author: Florian "Bluewind" Pritz <f-p@gmx.at> # # Copyright (C) 2008-2009 Florian Pritz @@ -12,7 +12,7 @@ # Shows if package updates are available #---------------------------------------------------- -cmd="pacman -Qu" +cmd="LC_ALL=C pacman -Qu" pac_num=$($cmd | grep -o "Targets ([0-9]*)" | sed 's/Targets (//; s/)//') #$cmd | grep "Total Download Size: .*MB" | grep -o "[0-9].*" |