config is in mailman3 3.1.1-9.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
dbc_dbtypes="sqlite3, pgsql, mysql"
dbc_basepath="/var/lib/mailman3/data"
dbc_dbname="mailman3"
dbc_dbuser="mailman3"
. /usr/share/dbconfig-common/dpkg/config
dbc_go mailman3 "$@"
db_get mailman3/database-type || true
res="$RET"
if [ "$res" = "sqlite3" ]; then
dbc_dbname="mailman.db"
db_set mailman3/db/dbname "$dbc_dbname"
fi
fi
db_input medium mailman3/config_hyperkitty || true
db_go
|