Imported Debian patch 0.2-1~karmic
[pysam.git] / debian / pysam.postinst.debhelper
diff --git a/debian/pysam.postinst.debhelper b/debian/pysam.postinst.debhelper
new file mode 100644 (file)
index 0000000..b775d06
--- /dev/null
@@ -0,0 +1,9 @@
+# Automatically added by dh_pycentral
+rm -f /var/lib/pycentral/pysam.pkgremove
+if which pycentral >/dev/null 2>&1; then
+       pycentral pkginstall pysam
+       if grep -qs '^pysam$' /var/lib/pycentral/delayed-pkgs; then
+               sed -i '/^pysam$/d' /var/lib/pycentral/delayed-pkgs
+       fi
+fi
+# End automatically added section