Imported Debian patch 0.2-1~karmic
[pysam.git] / debian / pysam.preinst.debhelper
diff --git a/debian/pysam.preinst.debhelper b/debian/pysam.preinst.debhelper
new file mode 100644 (file)
index 0000000..a1830f3
--- /dev/null
@@ -0,0 +1,8 @@
+# Automatically added by dh_pycentral
+case "$1" in
+    install|upgrade)
+       mkdir -p /var/lib/pycentral
+       echo '# the presence of this file allows calling pkgremove on upgrade' \
+           > /var/lib/pycentral/pysam.pkgremove
+esac
+# End automatically added section