mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* hostname, ip_address, mem_available: make sure statusrc exists
before sourcing it, LP: #407478 Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
250b7fdb97
commit
206fd37324
4 changed files with 7 additions and 5 deletions
|
@ -24,7 +24,7 @@ if [ "$1" = "--detail" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
. "/etc/$PKG/statusrc"
|
||||
[ -r "/etc/$PKG/statusrc" ] && . "/etc/$PKG/statusrc"
|
||||
. "$HOME/.$PKG/status"
|
||||
[ "$whoami" = "1" ] && at="@"
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ if [ "$1" = "--detail" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
. "/etc/$PKG/statusrc"
|
||||
[ -r "/etc/$PKG/statusrc" ] && . "/etc/$PKG/statusrc"
|
||||
. "$HOME/.$PKG/status"
|
||||
[ "$hostname" = "1" ] && space=" "
|
||||
[ "$whoami" = "1" ] && space=" "
|
||||
|
|
|
@ -24,7 +24,7 @@ if [ "$1" = "--detail" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
. "/etc/$PKG/statusrc"
|
||||
[ -r "/etc/$PKG/statusrc" ] && . "/etc/$PKG/statusrc"
|
||||
. "$HOME/.$PKG/status"
|
||||
[ "$mem_used" = "1" ] && comma="," || whitespace=" "
|
||||
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,8 +1,10 @@
|
|||
byobu (2.25) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* hostname, ip_address, mem_available: make sure statusrc exists
|
||||
before sourcing it, LP: #407478
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jul 2009 23:54:52 -0500
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 02 Aug 2009 09:54:39 -0500
|
||||
|
||||
byobu (2.24-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue