diff -u slack-0.15.2/debian/prerm slack-0.15.2/debian/prerm --- slack-0.15.2/debian/prerm +++ slack-0.15.2/debian/prerm @@ -1,15 +1,19 @@ #!/bin/sh -# $Id: prerm,v 1.1 2004/10/23 01:21:29 alan Exp $ -# post remove script for the Debian GNU/Linux slack package set -e if [ "$1" = "purge" -o "$1" = "remove" ]; then + unset CACHE + unset STAGE . /etc/slack.conf # purge the cache - rm -rf "$CACHE"/* + if [ -n "$CACHE" ]; then + rm -rf "$CACHE"/* + fi # remove the stage - rm -rf "$STAGE" + if [ -n "$STAGE" ]; then + rm -rf "$STAGE" + fi fi #DEBHELPER# diff -u slack-0.15.2/debian/control slack-0.15.2/debian/control --- slack-0.15.2/debian/control +++ slack-0.15.2/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Andrew Pollock Build-Depends: debhelper (>> 5) -Standards-Version: 3.7.3 +Standards-Version: 3.8.0 Package: slack Architecture: all diff -u slack-0.15.2/debian/changelog slack-0.15.2/debian/changelog --- slack-0.15.2/debian/changelog +++ slack-0.15.2/debian/changelog @@ -1,3 +1,10 @@ +slack (0.15.2-3) unstable; urgency=high + + * debian/prerm: handle an empty /etc/slack.conf in a less destructive manner + * debian/control: bumped Standards-Version (no changes) + + -- Andrew Pollock Fri, 01 Aug 2008 13:26:51 -0700 + slack (0.15.2-2) unstable; urgency=low * debian/watch: updated for new upstream location