source statusrc

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-08-17 14:03:27 -05:00
commit 3772ad7707
2 changed files with 5 additions and 3 deletions

View file

@ -30,9 +30,10 @@ find_script () {
fi
}
# Source configuration
# Source configurations
[ -r "/etc/$PKG/statusrc" ] && . "/etc/$PKG/statusrc"
[ -r "$HOME/.$PKG/status" ] && . "$HOME/.$PKG/status"
[ -r "$HOME/.$PKG/statusrc" ] && . "$HOME/.$PKG/statusrc"
export P="$1"
if [ "$P" = "--detail" ]; then

5
debian/changelog vendored
View file

@ -5,11 +5,12 @@ byobu (2.26) unreleased; urgency=low
byobu-janitor: move config files to sourced config file, use
janitor item to clean up
* byobu-status: source, rather than exec the target status script,
such that the script inherits the source status config variables
such that the script inherits the source status config variables;
source statusrc (which contains overrides)
* bin/disk: fix up reading of MONITORED_DISK
* byobu.1: update documentation for new .byobu/statusrc file
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 17 Aug 2009 14:02:25 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 17 Aug 2009 14:03:05 -0500
byobu (2.25-0ubuntu1) karmic; urgency=low