summaryrefslogtreecommitdiffstats
path: root/update_checker.sh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-03-26 21:18:29 +0100
committerFlorian Pritz <f-p@gmx.at>2009-03-26 21:18:29 +0100
commit103b5a0eec810a91526ee9fda7acd9867780e733 (patch)
tree870b91662b8298785006090ec4489b2c2b721312 /update_checker.sh
parentb3f4b23a64fb4bf83b48393741b07111382c661f (diff)
downloadbin-103b5a0eec810a91526ee9fda7acd9867780e733.tar.gz
bin-103b5a0eec810a91526ee9fda7acd9867780e733.tar.xz
fixed bug when language wasn't english
Diffstat (limited to 'update_checker.sh')
-rwxr-xr-xupdate_checker.sh4
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].*"