Check that byobu-launcher exists before calling it (chroots use the same

.profile as the main system but may not have byobu installed).
This commit is contained in:
Mathias Gug 2009-09-04 15:42:27 -04:00
commit 4f0683b655
2 changed files with 6 additions and 1 deletions

View file

@ -23,7 +23,7 @@ PKG="byobu"
install_launcher() {
dest=$1
launcher="byobu-launcher"
launcher_line="\`echo \$- | grep -qs i\` && $launcher"
launcher_line="\`echo \$- | grep -qs i\` && which $launcher > /dev/null && $launcher"
# Add it at the end
echo "$launcher_line" >> "$dest"
# Hush login, since byobu will handle motd printing

5
debian/changelog vendored
View file

@ -1,7 +1,12 @@
byobu (2.31) unreleased; urgency=low
[ Dustin Kirkland ]
* UNRELEASED
[ Mathias Gug ]
* Check that byobu-launcher exists before calling it (chroots use the same
.profile as the main system but may not have byobu installed).
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 31 Aug 2009 19:30:20 -0500
byobu (2.30-0ubuntu1) karmic; urgency=low