* bin/updates-available: print one ! for updates, two !! for security

updates available (should have a unit for each item)
* profiles/profile.skel: updates-available and reboot-required should
  be over with the rest of the status

 -- Dustin Kirkland <kirkland@ubuntu.com>Wed, 08 Apr 2009 14:43:23 -0700
This commit is contained in:
Dustin Kirkland 2009-04-08 14:45:41 -07:00
commit a635da67ae
3 changed files with 7 additions and 4 deletions

View file

@ -25,7 +25,7 @@ print_updates() {
s=$2
if [ -n "$u" ]; then
if [ "$u" -gt 0 ]; then
printf "\005{=b rW}%d" "$u"
printf "\005{=b rW}%d!" "$u"
if [ -n "$s" ]; then
if [ "$s" -gt 0 ]; then
printf "!"

7
debian/changelog vendored
View file

@ -1,8 +1,11 @@
screen-profiles (1.44) unreleased; urgency=low
* UNRELEASED
* bin/updates-available: print one ! for updates, two !! for security
updates available (should have a unit for each item)
* profiles/profile.skel: updates-available and reboot-required should
be over with the rest of the status
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 08 Apr 2009 13:21:39 -0700
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 08 Apr 2009 14:43:23 -0700
screen-profiles (1.43-0ubuntu1) jaunty; urgency=low

View file

@ -26,7 +26,7 @@ source /usr/share/screen-profiles/profiles/common
caption always "%{kW}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kW}%?%+Lw%? %= %{= Wk}%110`%109`%111`"
# Status string, last line
hardstatus string '%99`%{= Wk} %100`%112`%102`%101`%= %114`%115`%108`%113`%119`%117`%118`%116`%106`%104`%103`%105`%107`%Y-%m-%d %0c:%s'
hardstatus string '%99`%{= Wk} %100`%112`%= %101`%102`%114`%115`%108`%113`%119`%117`%118`%116`%106`%104`%103`%105`%107`%Y-%m-%d %0c:%s'
# NOTE: Older version of screen have an arbitrary limit of only being able
# to change colors 16 times in this 'hardstatus string'.