summaryrefslogtreecommitdiffstats
path: root/debian/icingaweb2-common.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/icingaweb2-common.postrm')
-rw-r--r--debian/icingaweb2-common.postrm12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/icingaweb2-common.postrm b/debian/icingaweb2-common.postrm
new file mode 100644
index 0000000..b41342f
--- /dev/null
+++ b/debian/icingaweb2-common.postrm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+# cleanup on purge
+if [ "$1" = "purge" ]; then
+ rm -rf /etc/icingaweb2
+ rm -rf /var/lib/icingaweb2
+ rm -rf /var/log/icingaweb2
+fi
+
+#DEBHELPER#