config is in drupal7 7.41-1.
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 37 38 39 40 41 42 43 44 45 46 47 48 | #!/bin/bash
# Debconf config script for Drupal
set -e
# Source debconf library
. /usr/share/debconf/confmodule
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
# we support mysql, pgsql and sqlite
dbc_dbtypes="mysql, pgsql, sqlite"
dbc_dbname=drupal7
dbc_dbuser=drupal7
# source dbconfig-common stuff
. /usr/share/dbconfig-common/dpkg/config --debconf-ok
dbc_go drupal7 $@
fi
if [ "$DPKG_DEBUG" = "developer" ]; then
set -x
fi
##################################################
# Begin installation directories definition block#
##################################################
package_name="drupal7"
datadir="/var/lib/${package_name}"
backupdir="${datadir}/backups/"
docdir="/usr/share/doc/${package_name}"
upgradesdir="${docdir}/upgrades"
configdir="/etc/drupal/7"
configfile="${configdir}/conf.php"
includefile="${configdir}/apache2.conf"
################################################
# End installation directories definition block #
################################################
########################################################################
# The actual configuration
OLDVERSION="$2"
db_stop
exit 0
|