-rw-r--r-- | debian/dudki.postrm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/dudki.postrm b/debian/dudki.postrm new file mode 100644 index 0000000..34413ba --- a/dev/null +++ b/debian/dudki.postrm @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +if [ "$1" = "purge" ]; then + + if which ucf >/dev/null; then + ucf --purge /etc/dudki.conf + fi + + if which ucfr >/dev/null; then + ucfr --purge dudki /etc/dudki.conf + fi + + rm -f /etc/dudki.conf /etc/dudki.conf.*ucf* + +fi + +#DEBHELPER# + +exit 0 |