diff options
-rw-r--r-- | debian/postrm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 000000000..f4c003cf8 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,16 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +case "$1" in + purge) + rm -rf /var/lib/rspamd + rm -rf /var/log/rspamd + exit 0;; + remove|upgrade|disappear|failed-upgrade|abort-*) + exit 0;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1;; +esac |