* byobu: If the user is running byobu with some arguments, but has

not selected their profile yet, don't bother them with profile
    selection at this time, LP: #330322


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-06-01 08:48:04 -05:00
commit 5cbe806fa7
2 changed files with 12 additions and 1 deletions

7
byobu
View file

@ -38,6 +38,13 @@ if [ -r "$SCREENRC" -a ! -e "$HOME/.$PKG/profile" -a ! -h "$HOME/.$PKG/profile"
exit $?
fi
# If the user is running byobu with some arguments, but has not selected
# their profile yet, don't bother them with profile selection at this time
if [ $# -gt 0 -a ! -h "$HOME/.$PKG/profile" ]; then
exec $SCREEN_REAL "$@"
exit $?
fi
DEFAULT_PROFILE="light"
# Ensure that the user has selected a screen profile

6
debian/changelog vendored
View file

@ -6,8 +6,12 @@ byobu (2.6) unreleased; urgency=low
a byobu-style screen session; LP: #330322
* bin/network-*: set rate=0 when rate is negative (ie, on startup)
* bin/temp-*: better support for temperature zones, LP: #380885
* byobu: If the user is running byobu with some arguments, but has
not selected their profile yet, don't bother them with profile
selection at this time, LP: #330322
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 28 May 2009 10:40:24 +0200
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 01 Jun 2009 08:22:57 -0500
byobu (2.5-0ubuntu1) karmic; urgency=low