mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
fix formatting again
This commit is contained in:
parent
bf1ed62e67
commit
771fa02d58
2 changed files with 7 additions and 3 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -2,6 +2,7 @@ byobu (5.109) unreleased; urgency=medium
|
|||
|
||||
* usr/lib/byobu/updates_available:
|
||||
- add an asterisk icon
|
||||
- fix formatting again
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 31 May 2016 10:03:15 -0500
|
||||
|
||||
|
|
|
@ -21,12 +21,15 @@
|
|||
|
||||
___print_updates() {
|
||||
local u= s=
|
||||
read u s < "$1"
|
||||
if [ -n "$(lsmod | grep ^kpatch_livepatch_)" ]; then
|
||||
color b r W; printf "*"; color --
|
||||
fi
|
||||
if [ -n "$u" ]; then
|
||||
if [ "$u" -gt 0 ]; then
|
||||
if [ -n "$(lsmod | grep ^kpatch_livepatch_)" ]; then
|
||||
color b r W; printf "*"; color -
|
||||
fi
|
||||
read u s < "$1"
|
||||
if [ -n "$u" ]; then
|
||||
if [ "$u" -gt 0 ]; then
|
||||
color b r W; printf "%d" "$u"; color -; color r W
|
||||
if [ -n "$s" ] && [ "$s" -gt 0 ]; then
|
||||
printf "$ICON_SECURITY"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue