summaryrefslogtreecommitdiffstats
path: root/debian/postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 21:30:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 21:30:41 +0000
commit8d4fd7bdf10268afed8a998b72c7065b280560a1 (patch)
tree87eb17774906ce58cec372004647554132fdbf45 /debian/postrm
parentAdding upstream version 3.8.1. (diff)
downloadrspamd-8d4fd7bdf10268afed8a998b72c7065b280560a1.tar.xz
rspamd-8d4fd7bdf10268afed8a998b72c7065b280560a1.zip
Adding debian version 3.8.1-1.debian/3.8.1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/postrm20
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