From 5e48aa7df385b21eda9847e810e8c8fc3c3d4215 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 23 Jun 2009 02:42:37 -0500 Subject: [PATCH] * debian/rules: establish symlink for screen-launcher for existing launch-on-login configurations; this seems better than auto-editing user's .profile Signed-off-by: Dustin Kirkland --- byobu-janitor | 4 ++-- debian/changelog | 5 ++++- debian/rules | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/byobu-janitor b/byobu-janitor index 6af4e339..e4adc81f 100644 --- a/byobu-janitor +++ b/byobu-janitor @@ -38,8 +38,6 @@ if [ -d "$HOME/.$OLDPKG" ] && [ ! -e "$HOME/.$PKG" ]; then # Rename the config dir mv -f "$HOME/.$OLDPKG" "$HOME/.$PKG" ln -sf "$HOME/.$PKG" "$HOME/.$OLDPKG" - # Replace all instances of the old package name with the new - sed -i "s/$OLDPKG/$PKG/g" "$HOME/.$PKG"/* # Fix the chosen profile symlink if [ -h "$PROFILE" ]; then # Determine the chosen profile color @@ -47,6 +45,8 @@ if [ -d "$HOME/.$OLDPKG" ] && [ ! -e "$HOME/.$PKG" ]; then # Try to set that color, if it exists, otherwise set to default byobu-select-profile -s "$profile" >/dev/null 2>&1 || byobu-select-profile -s "$DEFAULT_PROFILE" >/dev/null 2>&1 fi + # Replace all instances of the old package name with the new + sed -i "s/$OLDPKG/$PKG/g" "$HOME/.$PKG"/* fi # Affects: First runs with no configuration diff --git a/debian/changelog b/debian/changelog index b0810d5c..2e6cda4d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,8 +7,11 @@ byobu (2.16) unreleased; urgency=low * byobu-config, byobu-launcher, byobu-launcher-install, byobu-launcher-uninstall, debian/install, debian/rules, rpm/byobu.spec: rename to byobu-launcher* + * debian/rules: establish symlink for screen-launcher for existing + launch-on-login configurations; this seems better than auto-editing + user's .profile - -- Dustin Kirkland Tue, 23 Jun 2009 02:30:27 -0500 + -- Dustin Kirkland Tue, 23 Jun 2009 02:41:46 -0500 byobu (2.15-0ubuntu1) karmic; urgency=low diff --git a/debian/rules b/debian/rules index 975d590a..4c5d2fde 100755 --- a/debian/rules +++ b/debian/rules @@ -49,6 +49,7 @@ install: build install-po dh_testroot dh_clean -k dh_link usr/bin/byobu-status usr/bin/screen-profiles-status + dh_link usr/bin/byobu-launcher usr/bin/screen-launcher dh_link usr/share/byobu/keybindings/f-keys usr/share/byobu/keybindings/common dh_install -X.bzr