summaryrefslogtreecommitdiffstats
path: root/debian/irker.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/irker.postrm26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/irker.postrm b/debian/irker.postrm
new file mode 100644
index 0000000..4dcfac0
--- /dev/null
+++ b/debian/irker.postrm
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ remove)
+ rmdir /var/log/irker > /dev/null 2>&1 || true
+ ;;
+
+ purge)
+ rm -f /etc/default/irker
+ ;;
+
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0