summaryrefslogtreecommitdiffstats
path: root/debian/icingaweb2-module-reporting.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:29:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:29:00 +0000
commitc6f2813116ac45f66e50b444806ae334823290bc (patch)
tree87ad0e482745fa35498b5e253194844eff968d0a /debian/icingaweb2-module-reporting.postrm
parentAdding upstream version 0.10.0. (diff)
downloadicingaweb2-module-reporting-c6f2813116ac45f66e50b444806ae334823290bc.tar.xz
icingaweb2-module-reporting-c6f2813116ac45f66e50b444806ae334823290bc.zip
Adding debian version 0.10.0-2.debian/0.10.0-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/icingaweb2-module-reporting.postrm')
-rwxr-xr-xdebian/icingaweb2-module-reporting.postrm23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/icingaweb2-module-reporting.postrm b/debian/icingaweb2-module-reporting.postrm
new file mode 100755
index 0000000..50d4d57
--- /dev/null
+++ b/debian/icingaweb2-module-reporting.postrm
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+MODULE="reporting"
+
+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