mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* debian/rules, usr/bin/byobu:
- add byobu-tmux and byobu-screen symlinks
This commit is contained in:
parent
909dab6d3a
commit
263e8131a2
3 changed files with 15 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -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
2
debian/rules
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue