* usr/lib/byobu/updates_available: LP: #942469

- fix regression clearing updates_available status
This commit is contained in:
Dustin Kirkland 2012-02-28 14:36:05 -06:00
commit f2ff0c6e2b
2 changed files with 5 additions and 1 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (5.16) unreleased; urgency=low
* UNRELEASED
* usr/lib/byobu/updates_available: LP: #942469
- fix regression clearing updates_available status
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 23 Feb 2012 15:01:55 -0600

View file

@ -31,6 +31,9 @@ ___print_updates() {
printf "$ICON_UPDATES"
fi
color --
elif [ "$u" = "0" ]; then
# Clear out byobu's status cache
rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/updates_available*"
fi
fi
}