mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
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:
parent
44c988bda9
commit
4f0683b655
2 changed files with 6 additions and 1 deletions
|
@ -23,7 +23,7 @@ PKG="byobu"
|
||||||
install_launcher() {
|
install_launcher() {
|
||||||
dest=$1
|
dest=$1
|
||||||
launcher="byobu-launcher"
|
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
|
# Add it at the end
|
||||||
echo "$launcher_line" >> "$dest"
|
echo "$launcher_line" >> "$dest"
|
||||||
# Hush login, since byobu will handle motd printing
|
# Hush login, since byobu will handle motd printing
|
||||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -1,7 +1,12 @@
|
||||||
byobu (2.31) unreleased; urgency=low
|
byobu (2.31) unreleased; urgency=low
|
||||||
|
|
||||||
|
[ Dustin Kirkland ]
|
||||||
* UNRELEASED
|
* 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
|
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 31 Aug 2009 19:30:20 -0500
|
||||||
|
|
||||||
byobu (2.30-0ubuntu1) karmic; urgency=low
|
byobu (2.30-0ubuntu1) karmic; urgency=low
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue