]> rtime.felk.cvut.cz Git - sojka/duhome.git/blobdiff - debian/postrm
Debian packging works
[sojka/duhome.git] / debian / postrm
diff --git a/debian/postrm b/debian/postrm
new file mode 100755 (executable)
index 0000000..41feaaa
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+# postrm script for duhome
+
+set -e
+
+case "$1" in
+    purge)
+       rm -irf /var/lib/duhome
+    ;;
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0