config is in portsentry 1.2-14build1.
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 | #!/bin/sh
#$Id: config,v 1.4 2001/07/11 23:12:55 agx Exp $
set -e
# Source debconf library.
. /usr/share/debconf/confmodule
# location of startup.conf moved in 1.0-2
# to /etc/default/portsentry
if [ -n "$2" ] && dpkg --compare-versions $2 lt 1.0-2 ; then
if [ -e /etc/portsentry/startup.conf -a ! -e /etc/default/portsentry ]; then
db_input high portsentry/startup_conf_obsolete || true
db_go
fi
fi
# show no_block message only upon first installation
if [ "$1" = "configure" -a -z "$2" ]; then
db_input high portsentry/warn_no_block || true
db_go
fi
|