Do not leave any remainings from testing
authorAndreas Tille <tille@debian.org>
Tue, 11 Feb 2014 16:26:30 +0000 (17:26 +0100)
committerAndreas Tille <tille@debian.org>
Tue, 11 Feb 2014 16:26:30 +0000 (17:26 +0100)
debian/python-pysam-tests.postrm [new file with mode: 0644]

diff --git a/debian/python-pysam-tests.postrm b/debian/python-pysam-tests.postrm
new file mode 100644 (file)
index 0000000..d11fc7c
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    purge|remove|upgrade)
+        rm -rf /var/lib/pysam/tests
+    ;;
+    failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0