mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* bin/disk-used: fix situations where df output wraps to the next
line Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
cc61bb49f2
commit
b3685ae359
2 changed files with 5 additions and 3 deletions
|
@ -32,5 +32,5 @@ fi
|
||||||
# Default to /, but let users override
|
# Default to /, but let users override
|
||||||
[ -r "$HOME/.$PKG/disk" ] && MP=`cat "$HOME/.$PKG/disk"` || MP="/"
|
[ -r "$HOME/.$PKG/disk" ] && MP=`cat "$HOME/.$PKG/disk"` || MP="/"
|
||||||
|
|
||||||
df -h "$MP" | tail -n 1 | awk '{print "\005{= MW}" $5 "\005{-}"}'
|
used=`df -h "$MP" | tail -n 1 | sed "s/%.*$/%/" | sed "s/^.* //"`
|
||||||
printf "%s" "$whitespace"
|
printf "\005{= MW}%s%s" "$used" "$whitespace"
|
||||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -4,6 +4,8 @@ byobu (2.4) unreleased; urgency=low
|
||||||
* byobu: support Debian/Ubuntu's diversion of screen to screen.real,
|
* byobu: support Debian/Ubuntu's diversion of screen to screen.real,
|
||||||
as well as RH, which does not divert the real screen binary
|
as well as RH, which does not divert the real screen binary
|
||||||
* debian/release.sh: handle version incrementing in the rpm specfile
|
* debian/release.sh: handle version incrementing in the rpm specfile
|
||||||
|
* bin/disk-used: fix situations where df output wraps to the next
|
||||||
|
line
|
||||||
* bin/logo: check that lsb_release is available before using it
|
* bin/logo: check that lsb_release is available before using it
|
||||||
* bin/release: try to grab both distro and version from /etc/issue
|
* bin/release: try to grab both distro and version from /etc/issue
|
||||||
if that's what we're forced to use
|
if that's what we're forced to use
|
||||||
|
@ -25,7 +27,7 @@ byobu (2.4) unreleased; urgency=low
|
||||||
[ David Duffey ]
|
[ David Duffey ]
|
||||||
* rpm/byobu.spec: initial specfile for RH packaging
|
* rpm/byobu.spec: initial specfile for RH packaging
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 14 May 2009 13:22:17 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 15 May 2009 17:16:44 +0100
|
||||||
|
|
||||||
byobu (2.3-0ubuntu1) karmic; urgency=low
|
byobu (2.3-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue