X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpostrm;h=b2c14e8c46a57e1e0e8193566d8df1f375212ed9;hb=2a3258edf777ccf031a5146672d063a020221cca;hp=9abaecaa72db2c5768b86d52719a88ca9c6c5320;hpb=0b72fe17e679c0b3c88448cc2fc6830d3db20f93;p=pkg%2Fbeep.git diff --git a/debian/postrm b/debian/postrm index 9abaeca..b2c14e8 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,7 +1,11 @@ -#!/bin/sh -e +#!/bin/sh # postrm for beep +# copyright 2002-2011 by Rhonda D'Vine +# 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