summaryrefslogtreecommitdiffstats
path: root/debian/icingaweb2-common.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:46:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:46:43 +0000
commit7aef72de6dd0108b7d932b7e01c91c365055c5df (patch)
tree2dab6ffa82aacfe9515e298cfb125f190738fd3d /debian/icingaweb2-common.postrm
parentAdding upstream version 2.12.1. (diff)
downloadicingaweb2-debian.tar.xz
icingaweb2-debian.zip
Adding debian version 2.12.1-1.debian/2.12.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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#