mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
--human-readable not available on hardy
This commit is contained in:
parent
627d39ac66
commit
2ee113a543
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue