mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* 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 <kirkland@canonical.com>
This commit is contained in:
parent
7a74a41d1e
commit
5e48aa7df3
3 changed files with 7 additions and 3 deletions
|
@ -38,8 +38,6 @@ if [ -d "$HOME/.$OLDPKG" ] && [ ! -e "$HOME/.$PKG" ]; then
|
||||||
# Rename the config dir
|
# Rename the config dir
|
||||||
mv -f "$HOME/.$OLDPKG" "$HOME/.$PKG"
|
mv -f "$HOME/.$OLDPKG" "$HOME/.$PKG"
|
||||||
ln -sf "$HOME/.$PKG" "$HOME/.$OLDPKG"
|
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
|
# Fix the chosen profile symlink
|
||||||
if [ -h "$PROFILE" ]; then
|
if [ -h "$PROFILE" ]; then
|
||||||
# Determine the chosen profile color
|
# 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
|
# 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
|
byobu-select-profile -s "$profile" >/dev/null 2>&1 || byobu-select-profile -s "$DEFAULT_PROFILE" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
# Replace all instances of the old package name with the new
|
||||||
|
sed -i "s/$OLDPKG/$PKG/g" "$HOME/.$PKG"/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Affects: First runs with no configuration
|
# Affects: First runs with no configuration
|
||||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -7,8 +7,11 @@ byobu (2.16) unreleased; urgency=low
|
||||||
* byobu-config, byobu-launcher, byobu-launcher-install,
|
* byobu-config, byobu-launcher, byobu-launcher-install,
|
||||||
byobu-launcher-uninstall, debian/install, debian/rules,
|
byobu-launcher-uninstall, debian/install, debian/rules,
|
||||||
rpm/byobu.spec: rename to byobu-launcher*
|
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 <kirkland@ubuntu.com> Tue, 23 Jun 2009 02:30:27 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 23 Jun 2009 02:41:46 -0500
|
||||||
|
|
||||||
byobu (2.15-0ubuntu1) karmic; urgency=low
|
byobu (2.15-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -49,6 +49,7 @@ install: build install-po
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean -k
|
dh_clean -k
|
||||||
dh_link usr/bin/byobu-status usr/bin/screen-profiles-status
|
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_link usr/share/byobu/keybindings/f-keys usr/share/byobu/keybindings/common
|
||||||
dh_install -X.bzr
|
dh_install -X.bzr
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue