From c91eb63f916497b2a643b75268b46c34fd848175 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 6 Mar 2009 20:26:11 -0600 Subject: [PATCH] maintainer cleanup of unneeded /usr/share/screen-profiles/bin/screen-profiles symlink --- debian/postinst | 1 + debian/prerm | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/postinst b/debian/postinst index b029002b..c8de0c69 100644 --- a/debian/postinst +++ b/debian/postinst @@ -6,6 +6,7 @@ if [ "$1" = "configure" ]; then # user is upgrading from within an existing screen session depending on the old # paths, we're going to break their status bar. [ -d /usr/share/screen-profiles/bin ] || ln -sf /var/lib/screen-profiles /usr/share/screen-profiles/bin + [ -L /usr/share/screen-profiles/bin/screen-profiles ] && rm -f /usr/share/screen-profiles/bin/screen-profiles fi #DEBHELPER# diff --git a/debian/prerm b/debian/prerm index 475ea18b..4b2e8443 100644 --- a/debian/prerm +++ b/debian/prerm @@ -3,6 +3,7 @@ if [ "$1" = "remove" ]; then # This is a hack that should be removed just before Jaunty goes GA. [ -L /usr/share/screen-profiles/bin ] && rm -f /usr/share/screen-profiles/bin + [ -L /usr/share/screen-profiles/bin/screen-profiles ] && rm -f /usr/share/screen-profiles/bin/screen-profiles fi #DEBHELPER#