From 2ee113a543c2938753b672abedf32632b33afb7a Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 16 Dec 2008 11:27:14 -0600 Subject: [PATCH] --human-readable not available on hardy --- bin/updates-available | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/updates-available b/bin/updates-available index 992a794c..b57b31a5 100755 --- a/bin/updates-available +++ b/bin/updates-available @@ -2,7 +2,7 @@ u= if [ -x /usr/lib/update-notifier/apt-check ]; then - u=`/usr/lib/update-notifier/apt-check --human-readable 2>&1 | sed "s/;.*$//"` + u=`/usr/lib/update-notifier/apt-check 2>&1 | tail -n 1 | sed "s/;.*$//"` elif [ -x /usr/bin/apt-get ]; then u=`/usr/bin/apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst` elif [ -x /usr/bin/yum ]; then