config is in ferm 2.2-3.2.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_version 2.0
db_capb backup
if ! test -f /etc/default/ferm || ! grep -q ^ENABLED= /etc/default/ferm; then
db_input high ferm/enable || true
db_go || true
fi
# load configuration file if it exists and read
# value of ENABLED into Debconf database
if test -e /etc/default/ferm && grep -q '^ENABLED=' /etc/default/ferm; then
. /etc/default/ferm || true
# Store values from config file into debconf db.
db_set ferm/enable "$ENABLED"
fi
|