]> git.deb.at Git - pkg/t-prot.git/blobdiff - debian/postinst
Imported Debian patch 1.49-1
[pkg/t-prot.git] / debian / postinst
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..4a6c108
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+# postinst for t-prot
+
+if [ "$1" = 'configure' -a -e /usr/share/debconf/confmodule ]; then
+       if dpkg --compare-versions "$2" lt "1.47-2" ; then
+               . /usr/share/debconf/confmodule
+               db_purge
+               db_stop
+       fi
+fi