]> git.deb.at Git - pkg/t-prot.git/blobdiff - debian/postinst
Imported Debian patch 2.0.1-1
[pkg/t-prot.git] / debian / postinst
index 4a6c1080e0efd1b0c84afb6336bf66103a083e96..afa0feff7d24df793c29e828b652e0c72f67b3d4 100644 (file)
@@ -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