bin/updates_available: also monitor /var/lib/apt/lists for changes,

as this is touched on 'apt-get update', LP: #427855
This commit is contained in:
Dustin Kirkland 2009-09-11 08:01:36 -05:00
commit 3d9dfb7dfc
2 changed files with 4 additions and 3 deletions

View file

@ -82,7 +82,7 @@ PKG="byobu"
mycache="/var/run/screen/S-$USER/$PKG.updates-available"
if [ "/var/lib/apt" -nt "$mycache" ]; then
if [ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt "$mycache" ]; then
# If apt is newer than mycache, background an update now
update_cache "$mycache"
elif [ -r $mycache ]; then

5
debian/changelog vendored
View file

@ -1,8 +1,9 @@
byobu (2.32) unreleased; urgency=low
* UNRELEASED
* bin/updates_available: also monitor /var/lib/apt/lists for changes,
as this is touched on 'apt-get update', LP: #427855
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 10 Sep 2009 12:29:09 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 11 Sep 2009 07:59:50 -0500
byobu (2.31-0ubuntu1) karmic; urgency=low