[med-svn] [pysam] 01/02: Do not leave any remainings from testing

Andreas Tille tille at debian.org
Tue Feb 11 16:26:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository pysam.

commit 071c457929ee8dc988c01e8bca2cfe9b95e3bc59
Author: Andreas Tille <tille at debian.org>
Date:   Tue Feb 11 17:26:30 2014 +0100

    Do not leave any remainings from testing
---
 debian/python-pysam-tests.postrm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/debian/python-pysam-tests.postrm b/debian/python-pysam-tests.postrm
new file mode 100644
index 0000000..d11fc7c
--- /dev/null
+++ b/debian/python-pysam-tests.postrm
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pysam.git



More information about the debian-med-commit mailing list