config is in bacula-director-sqlite3 7.0.5+dfsg-4build1.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_version 2.0
THISDB=sqlite3
case "$THISDB" in
mysql)
dbc_first_version=1.38.9-3
dbc_dbuser=bacula
dbc_dbname=bacula
;;
pgsql)
dbc_first_version=1.38.9-2
dbc_dbuser=bacula
dbc_dbname=bacula
;;
sqlite3)
dbc_first_version=3.0.3-3
dbc_dbname=bacula.db
dbc_basepath=/var/lib/bacula
;;
esac
if [ -f /usr/share/dbconfig-common/dpkg/config.$THISDB ]; then
. /usr/share/dbconfig-common/dpkg/config.$THISDB
dbc_go bacula-director-$THISDB $@
fi
|