config is in gallery2 2.3-1ubuntu6.
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 | #!/bin/bash
set -e
action=$1
version=$2
# Source debconf library.
. /usr/share/debconf/confmodule
db_version 2.0 || [ 0 -lt 30 ]
db_input medium gallery2/webserver_type || true
db_go || true
db_set gallery2/mysql/configure true
db_input medium gallery2/mysql/configure || true
db_go || true
db_get gallery2/mysql/configure || true
if [ "$RET" = "true" ]; then
db_input critical gallery2/mysql/dbserver || true
db_input critical gallery2/mysql/dbadmin || true
db_input critical gallery2/mysql/dbadmpass || true
db_input medium gallery2/purge || true
db_input medium gallery2/mysql/dbname || true
db_go || true
fi
|