mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
add trailing !
This commit is contained in:
parent
ba1461d2fc
commit
dcb2f19aa8
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
||||||
if [ -x /usr/lib/update-notifier/apt-check ]; then
|
if [ -x /usr/lib/update-notifier/apt-check ]; then
|
||||||
/usr/lib/update-notifier/apt-check 2>&1 | tail -n 1 | sed "s/;.*$/\!/"
|
/usr/lib/update-notifier/apt-check 2>&1 | tail -n 1 | sed "s/;.*$/\!/"
|
||||||
elif [ -x /usr/bin/apt-get ]; then
|
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
|
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
|
else
|
||||||
echo "?"
|
echo "?"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue