From dcb2f19aa89b7d0a2f755f52b58934b136414f2a Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sun, 14 Dec 2008 23:10:33 -0600 Subject: [PATCH] add trailing ! --- bin/updates-available | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/updates-available b/bin/updates-available index 54295d72..f84e605c 100755 --- a/bin/updates-available +++ b/bin/updates-available @@ -3,9 +3,9 @@ if [ -x /usr/lib/update-notifier/apt-check ]; then /usr/lib/update-notifier/apt-check 2>&1 | tail -n 1 | sed "s/;.*$/\!/" elif [ -x /usr/bin/apt-get ]; then - /usr/bin/apt-get -s -o Debug::NoLocking=true upgrade | grep ^Inst | wc -l + /usr/bin/apt-get -s -o Debug::NoLocking=true upgrade | grep ^Inst | wc -l | sed "s/$/\!/" elif [ -x /usr/bin/yum ]; then - /usr/bin/yum list updates | grep -c "updates" + /usr/bin/yum list updates | grep -c "updates" | sed "s/$/\!/" else echo "?" fi