config is in popfile 1.1.3+dfsg-0ubuntu1.
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 | #!/bin/sh -e
CONFIGFILE=/etc/popfile/defaults
. /usr/share/debconf/confmodule
if [ -e $CONFIGFILE ]
then
UIPORT=
UILOCAL=
POPPORT=
POPLOCAL=
. $CONFIGFILE || true
if [ "$UIPORT" != "" ]; then db_set popfile/uiport $UIPORT; fi
if [ "$UILOCAL" != "" ]
then
if [ $UILOCAL = yes ]; then db_set popfile/uilocal true
else db_set popfile/uilocal false; fi
fi
if [ "$POPPORT" != "" ]; then db_set popfile/popport $POPPORT; fi
if [ "$POPLOCAL" != "" ]
then
if [ $POPLOCAL = yes ]; then db_set popfile/poplocal true
else db_set popfile/poplocal false; fi
fi
fi
if dpkg --compare-versions "$2" lt-nl "0.22.0" >&2
then
db_input medium popfile/backupcorpus || true
fi
db_input medium popfile/uiport || true
db_input medium popfile/uilocal || true
db_input medium popfile/popport || true
db_input medium popfile/poplocal || true
db_go || true
|