summaryrefslogtreecommitdiffstats
path: root/debian/icingaweb2-module-audit.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/icingaweb2-module-audit.postrm')
-rwxr-xr-xdebian/icingaweb2-module-audit.postrm23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/icingaweb2-module-audit.postrm b/debian/icingaweb2-module-audit.postrm
new file mode 100755
index 0000000..1f3197d
--- /dev/null
+++ b/debian/icingaweb2-module-audit.postrm
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+MODULE="audit"
+
+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