diff -u slack-0.14.1/debian/prerm slack-0.14.1/debian/prerm --- slack-0.14.1/debian/prerm +++ slack-0.14.1/debian/prerm @@ -5,11 +5,17 @@ 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.14.1/debian/control slack-0.14.1/debian/control --- slack-0.14.1/debian/control +++ slack-0.14.1/debian/control @@ -1,7 +1,8 @@ Source: slack Section: admin Priority: optional -Maintainer: Andrew Pollock +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Andrew Pollock Build-Depends: debhelper (>> 5) Standards-Version: 3.7.2 diff -u slack-0.14.1/debian/changelog slack-0.14.1/debian/changelog --- slack-0.14.1/debian/changelog +++ slack-0.14.1/debian/changelog @@ -1,3 +1,9 @@ +slack (0.14.1-2ubuntu1) hardy-proposed; urgency=low + + * debian/prerm: don't rm -rf / if /etc/slack.conf is empty (LP: #255819) + + -- Andrew Pollock Thu, 07 Aug 2008 11:25:40 -0700 + slack (0.14.1-2) unstable; urgency=low * debian/control: Suggests: openssh-server, openssh-client instead of ssh