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