mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
bin/uptime: don't print seconds, since we don't update often enough
This commit is contained in:
parent
3adcfac0db
commit
e7d43e219b
2 changed files with 3 additions and 2 deletions
|
@ -27,7 +27,7 @@ if [ "$u" -gt 86400 ]; then
|
|||
elif [ "$u" -gt 3600 ]; then
|
||||
echo "$u" | awk '{printf "%dh%dm", $1 / 3600, ($1 % 3600 )/60}'
|
||||
elif [ "$u" -gt 60 ]; then
|
||||
echo "$u" | awk '{printf "%dm%ds", $1 / 60, $1 % 60 }'
|
||||
echo "$u" | awk '{printf "%dm", $1 / 60 }'
|
||||
else
|
||||
printf "%ds" "$u"
|
||||
fi
|
||||
|
|
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,8 +1,9 @@
|
|||
screen-profiles (1.45) unreleased; urgency=low
|
||||
|
||||
* bin/cpu-freq: fix for powerpc
|
||||
* bin/uptime: don't print seconds, since we don't update often enough
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 09 Apr 2009 11:05:35 -0700
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Apr 2009 10:15:10 -0500
|
||||
|
||||
screen-profiles (1.44-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue