X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=debian%2Fpostrm;h=0f2545f2693602d32dcaa1d4f77a0c738f706a63;hb=a8ceef793c705683207726c4637ebd52134b95c6;hp=9abaecaa72db2c5768b86d52719a88ca9c6c5320;hpb=0b72fe17e679c0b3c88448cc2fc6830d3db20f93;p=pkg%2Fbeep.git diff --git a/debian/postrm b/debian/postrm index 9abaeca..0f2545f 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,7 +1,11 @@ -#!/bin/sh -e +#!/bin/sh # postrm for beep +# copyright 2002-2011 by Gerfried Fuchs +# Licenced under WTFPLv2 -if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then +set -e + +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi