activate full debugging

This commit is contained in:
Jérôme Schneider 2013-11-20 11:11:28 +01:00
parent ba31493d55
commit 7906dff99c
2 changed files with 11 additions and 2 deletions

View File

@ -1,12 +1,15 @@
#!/bin/sh
# config maintainer script for foo-pgsql
set -x
export DEBCONF_DEBUG=developer
export dbc_debug=1
# source debconf stuff
. /usr/share/debconf/confmodule
# source dbconfig-common shell library, and call the hook function
if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
. /usr/share/dbconfig-common/dpkg/config.pgsql
dbc_pgsql_createdb_encoding="UTF8"
dbc_go authentic2 $@
fi

View File

@ -4,6 +4,10 @@
#
set -e
set -x
export DEBCONF_DEBUG=developer
export dbc_debug=1
AUTHENTIC_USER=authentic
AUTHENTIC_GROUP=authentic
@ -49,10 +53,12 @@ esac
# source dbconfig-common shell library, and call the hook function
if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then
. /usr/share/dbconfig-common/dpkg/postinst.pgsql
dbc_generate_include=template:/etc/authentic2/db.conf
dbc_debug=1
dbc_generate_include="template:/etc/authentic2/db.conf"
dbc_generate_include_args="-o template_infile=/usr/share/authentic2/templates/db.conf -U"
dbc_generate_include_owner="authentic"
dbc_generate_include_perms="640"
dbc_pgsql_createdb_encoding="UTF8"
dbc_go authentic2 $@
fi