mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* bin/updates_available: direct which out to devnull
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
3300be49e0
commit
602fdaa7f8
2 changed files with 5 additions and 5 deletions
|
@ -97,13 +97,13 @@ ionice -c3 -p $$ >/dev/null 2>&1 || true
|
|||
if [ -x /usr/lib/update-notifier/apt-check ]; then
|
||||
# If apt-check binary exists, use it
|
||||
/usr/lib/update-notifier/apt-check 2>&1 | tail -n 1 | sed "s/;/ /" > $mycache &
|
||||
elif which apt-get 2>/dev/null; then
|
||||
elif which apt-get >/dev/null; then
|
||||
# If apt-get exists, use it
|
||||
apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst > $mycache &
|
||||
elif which zypper; then
|
||||
elif which zypper >/dev/null; then
|
||||
# If zypper exists, use it
|
||||
zypper --no-refresh lu --best-effort | grep 'v |' | wc -l > $mycache &
|
||||
elif which yum; then
|
||||
elif which yum >/dev/null; then
|
||||
# If yum exists, use it
|
||||
# TODO: We need a better way of counting updates available from a RH expert
|
||||
yum list updates | egrep -v "Updated Packages|Loaded plugins" | wc -l > $mycache &
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,8 +1,8 @@
|
|||
byobu (2.13) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* bin/updates_available: direct which out to devnull
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 19 Jun 2009 00:50:53 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 19 Jun 2009 01:16:50 -0500
|
||||
|
||||
byobu (2.12-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue