maintainer cleanup of unneeded /usr/share/screen-profiles/bin/screen-profiles symlink

This commit is contained in:
Dustin Kirkland 2009-03-06 20:26:11 -06:00
commit c91eb63f91
2 changed files with 2 additions and 0 deletions

1
debian/postinst vendored
View file

@ -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#

1
debian/prerm vendored
View file

@ -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#