summaryrefslogtreecommitdiffstats
path: root/update_checker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_checker.sh')
-rwxr-xr-xupdate_checker.sh6
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].*"