diff --git a/debian/changelog b/debian/changelog index d5de2271..376273cc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 10 Aug 2011 16:52:37 -0500 diff --git a/debian/rules b/debian/rules index aa21514d..174fe8eb 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/usr/bin/byobu b/usr/bin/byobu index ea87f6ed..23523925 100755 --- a/usr/bin/byobu +++ b/usr/bin/byobu @@ -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