bin/updates_available: fix Fedora yum output when listing updates

available, LP: #440659
This commit is contained in:
Dustin Kirkland 2009-10-02 11:26:47 -05:00
commit 69dc76b47c
2 changed files with 4 additions and 3 deletions

View file

@ -67,7 +67,7 @@ update_cache() {
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 &
yum list updates -q | egrep -v "Updated Packages" | wc -l > $mycache &
fi
}

5
debian/changelog vendored
View file

@ -1,8 +1,9 @@
byobu (2.37) unreleased; urgency=low
* UNRELEASED
* bin/updates_available: fix Fedora yum output when listing updates
available, LP: #440659
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 01 Oct 2009 22:15:21 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 02 Oct 2009 11:26:08 -0500
byobu (2.36-0ubuntu1) karmic; urgency=low