From bb3ac1ec81d81dd9818fc2f2adfff9293b24ac61 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sun, 16 Sep 2012 23:10:53 -0500 Subject: [PATCH] * debian/postinst, debian/postrm: LP: #1050249 - clean up obsolete config file --- debian/changelog | 2 ++ debian/postinst | 3 +++ debian/postrm | 3 +++ 3 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 840c9bb9..644476db 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ byobu (5.22) unreleased; urgency=low * usr/bin/byobu-config, usr/bin/byobu-ctrl-a: LP: #1019743 - fix escape sequence setting in config with tmux + * debian/postinst, debian/postrm: LP: #1050249 + - clean up obsolete config file -- Dustin Kirkland Wed, 11 Jul 2012 12:02:34 -0500 diff --git a/debian/postinst b/debian/postinst index 7b1e6c86..a77080a2 100644 --- a/debian/postinst +++ b/debian/postinst @@ -43,6 +43,9 @@ if [ -d "$SOCKETDIR" ]; then done fi +# Clean-up obsolete config file +rm -f /etc/byobu/statusrc || true + #DEBHELPER# # vi: syntax=sh ts=4 noexpandtab diff --git a/debian/postrm b/debian/postrm index 8053ef08..6498fc21 100644 --- a/debian/postrm +++ b/debian/postrm @@ -6,4 +6,7 @@ PKG="byobu" # symlink, if it exists rm -f /etc/profile.d/Z98-$PKG.sh +# Clean-up obsolete config file +rm -f /etc/byobu/statusrc || true + # vi: syntax=sh ts=4 noexpandtab