#!/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