From f83fc5a52816344606aa81ab3c313823b2908021 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 30 Jun 2009 15:57:59 -0700 Subject: [PATCH] * byobu-launcher-uninstall, byobu-janitor: byobu-launcher is no longer fully qualified, update the remove to account for this; clean out old screen-launcher entries as a janitor item LP: #392978 Signed-off-by: Dustin Kirkland --- byobu-janitor | 7 +++++++ debian/changelog | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/byobu-janitor b/byobu-janitor index e4adc81f..3e3eea97 100644 --- a/byobu-janitor +++ b/byobu-janitor @@ -66,5 +66,12 @@ sed -i "s/-/_/g" "$HOME/.$PKG/status" sed -i "s/^disk.*=/disk=/" "$HOME/.$PKG/status" sed -i "s/^network.*=/network=/" "$HOME/.$PKG/status" +# Affects: Upgrades from <= byobu-2.16 +# screen-launcher was renamed byobu-launcher; if the user has byobu +# set to auto-launch, update their configuration to use the byobu-launcher +if grep -qs "screen-launcher$" "$HOME/.profile"; then + /usr/share/$PKG/byobu-launcher-install +fi + # Clean up flag rm -f "$FLAG" diff --git a/debian/changelog b/debian/changelog index c3d4a2c6..fbd0606d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,10 +3,11 @@ byobu (2.18) unreleased; urgency=low * debian/screen-profiles.postinst: try to remove the dpkg-divert, but if it fails, let the installation proceed, since we've copied screen.real back into place now, LP: #393204 - * byobu-launcher-uninstall: byobu-launcher is no longer fully qualified, - update the remove to account for this + * byobu-launcher-uninstall, byobu-janitor: byobu-launcher is no longer + fully qualified, update the remove to account for this; clean out + old screen-launcher entries as a janitor item LP: #392978 - -- Dustin Kirkland Tue, 30 Jun 2009 15:38:17 -0700 + -- Dustin Kirkland Tue, 30 Jun 2009 15:49:38 -0700 byobu (2.17-0ubuntu1) karmic; urgency=low