config is in jffnms 0.9.3-3ubuntu1.
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 | #!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
# we support mysql and pgsql
dbc_dbtypes="mysql, pgsql"
dbc_first_version="0.8.2-2"
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
# source dbconfig-common stuff
. /usr/share/dbconfig-common/dpkg/config
dbc_go jffnms $@
fi
# Read old values in from /etc/defaults/jffnms
if [ -f /etc/default/jffnms ]; then
. /etc/default/jffnms
fi
if [ -z $COMPRESSLOGS ]; then
COMPRESSLOGS=2
fi
if [ -z $DELETELOGS ]; then
DELETELOGS=7
fi
db_set "jffnms/compresslogs" $COMPRESSLOGS
db_set "jffnms/deletelogs" $DELETELOGS
db_input low "jffnms/compresslogs" || true
db_go
db_input low "jffnms/deletelogs" || true
db_go
|