config is in mimedefang 2.83-1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #!/bin/sh
CONFIGFILE=/etc/default/mimedefang
set -e
# We need debconf.
. /usr/share/debconf/confmodule
db_version 2.0
db_capb backup
db_title "MIMEDefang"
# Load config file, if it exists.
if [ -e $CONFIGFILE ]; then
. $CONFIGFILE || true
#Store values from config file into debconf db.
if [ "$MX_EMBED_PERL"x = "yes"x ]
then
db_set mimedefang/embedperl true
elif [ "$MX_EMBED_PERL"x = "no"x ]
then
db_set mimedefang/embedperl false
fi
fi
# Use a state machine to allow jumping back to previous questions.
STATE=1
while [ "$STATE" != 0 -a "$STATE" != 2 ]; do
case "$STATE" in
1)
db_input medium mimedefang/embedperl || true
;;
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
|