* debian/rules, usr/bin/byobu:

- add byobu-tmux and byobu-screen symlinks
This commit is contained in:
Dustin Kirkland 2011-08-10 17:57:45 -05:00
commit 263e8131a2
3 changed files with 15 additions and 0 deletions

2
debian/changelog vendored
View file

@ -3,6 +3,8 @@ byobu (4.27) unreleased; urgency=low
* usr/share/byobu/profiles/tmux:
- get motion between panes working, kill all, and profile reload
(profile reload needs some work)
* debian/rules, usr/bin/byobu:
- add byobu-tmux and byobu-screen symlinks
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 10 Aug 2011 16:52:37 -0500

2
debian/rules vendored
View file

@ -50,6 +50,8 @@ install: build install-po
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
dh_link usr/share/byobu/keybindings/f-keys usr/share/byobu/keybindings/common
dh_link usr/share/byobu/pixmaps/byobu.svg usr/share/icons/hicolor/scalable/apps/byobu.svg
dh_link usr/bin/byobu usr/bin/byobu-screen
dh_link usr/bin/byobu usr/bin/byobu-tmux
# Build architecture-independent files here.
binary-indep: build install

View file

@ -34,6 +34,17 @@ if [ "$#" = "1" ]; then
esac
fi
case "$0" in
*byobu-screen)
export BYOBU_BACKEND="screen"
exec $PKG "$@"
;;
*byobu-tmux)
export BYOBU_BACKEND="tmux"
exec $PKG "$@"
;;
esac
# Check if we're being autolaunched, and this user explicitly does not want it.
if [ "$0" = "/etc/profile.d/Z98-$PKG.sh" ] && [ -r "$BYOBU_CONFIG_DIR/disable-autolaunch" ]; then
exit 0