mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
usr/lib/updates_available
This commit is contained in:
parent
70f4716ffc
commit
bee7ef6af4
2 changed files with 2 additions and 1 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -6,6 +6,7 @@ byobu (2.81) unreleased; urgency=low
|
|||
- usr/lib/byobu/ip_address
|
||||
- usr/lib/byobu/release
|
||||
- usr/lib/services
|
||||
- usr/lib/updates_available
|
||||
- usr/bin/byobu-status-detail
|
||||
- usr/bin/byobu-reconnect-sockets
|
||||
- usr/bin/byobu-launch, usr/bin/byobu-launcher-install,
|
||||
|
|
|
@ -70,7 +70,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 -q | egrep -v "Updated Packages" | wc -l > $mycache &
|
||||
yum list updates -q | grep -vc "Updated Packages" > $mycache &
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue