From 07f70d71c16ac614e8083fd4edbd2f19b3328e0c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 3 Apr 2009 20:37:26 +0200 Subject: fixed update_checker --- update_checker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'update_checker.sh') 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 # # 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].*" -- cgit v1.2.3-24-g4f1b