X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=4a6c1080e0efd1b0c84afb6336bf66103a083e96;hb=a6c12e50628dd71ecc46e1724d1912689540f359;hp=0000000000000000000000000000000000000000;hpb=3319969a89bb47afbd35da55d8c0d62a33be9ca7;p=pkg%2Ft-prot.git diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..4a6c108 --- /dev/null +++ b/debian/postinst @@ -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