usr/bin/byobu-launcher: allow user to add custom screen arguments to

byobu-launcher (useful in .profile for adding an option like -UDR),
LP: #578373
This commit is contained in:
Dustin Kirkland 2010-05-15 16:40:49 -04:00
commit ddd43c8f0e
2 changed files with 5 additions and 2 deletions

3
debian/changelog vendored
View file

@ -6,6 +6,9 @@ byobu (2.75) UNRELEASED; urgency=low
without setting lang to english, LP: #578792 without setting lang to english, LP: #578792
* byobu-launcher-uninstall: create the directory, in case this script is * byobu-launcher-uninstall: create the directory, in case this script is
executed before byobu actually runs, LP: #580384 executed before byobu actually runs, LP: #580384
* usr/bin/byobu-launcher: allow user to add custom screen arguments to
byobu-launcher (useful in .profile for adding an option like -UDR),
LP: #578373
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 15 May 2010 15:32:30 -0400 -- Dustin Kirkland <kirkland@ubuntu.com> Sat, 15 May 2010 15:32:30 -0400

View file

@ -22,10 +22,10 @@ if [ ! -r "$HOME/.byobu/disable-autolaunch" ]; then
printf "$(gettext 'Do you want to launch byobu in a nested session?') [y/N]: " printf "$(gettext 'Do you want to launch byobu in a nested session?') [y/N]: "
answer=$(head -n1) answer=$(head -n1)
if [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then if [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then
exec /usr/bin/byobu exec /usr/bin/byobu "$@"
fi fi
else else
exec /usr/bin/byobu exec /usr/bin/byobu "$@"
fi fi
fi fi
false false