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#