X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Fpostinst;h=afa0feff7d24df793c29e828b652e0c72f67b3d4;hb=2da9156d7897a13e1546fbbf6dd28daf3dd158bf;hp=4a6c1080e0efd1b0c84afb6336bf66103a083e96;hpb=5a2416caa59ac3c35002955d0159450b47320ed9;p=pkg%2Ft-prot.git diff --git a/debian/postinst b/debian/postinst index 4a6c108..afa0fef 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,7 +1,7 @@ #!/bin/sh -e # postinst for t-prot -if [ "$1" = 'configure' -a -e /usr/share/debconf/confmodule ]; then +if [ "$1" = 'configure' ] && [ -e /usr/share/debconf/confmodule ]; then if dpkg --compare-versions "$2" lt "1.47-2" ; then . /usr/share/debconf/confmodule db_purge