summaryrefslogtreecommitdiffstats
path: root/debian/icingaweb2-module-x509.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:31:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:31:28 +0000
commit9222f840e2ffc6253d8290160f29ec9d176ad37d (patch)
treee5391da810e7922bf7f9396c9b1fe3cb1723a4c7 /debian/icingaweb2-module-x509.postrm
parentAdding upstream version 1:1.3.2. (diff)
downloadicingaweb2-module-x509-9222f840e2ffc6253d8290160f29ec9d176ad37d.tar.xz
icingaweb2-module-x509-9222f840e2ffc6253d8290160f29ec9d176ad37d.zip
Adding debian version 1:1.3.2-1.debian/1%1.3.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/icingaweb2-module-x509.postrm')
-rwxr-xr-xdebian/icingaweb2-module-x509.postrm23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/icingaweb2-module-x509.postrm b/debian/icingaweb2-module-x509.postrm
new file mode 100755
index 0000000..ddfa0bb
--- /dev/null
+++ b/debian/icingaweb2-module-x509.postrm
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+MODULE="x509"
+
+case ${1} in
+ remove)
+ rm -f "/etc/icingaweb2/enabledModules/${MODULE}"
+ ;;
+
+ purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument: \`${1}'." >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0