debian: dbc_pgsql_createdb_encoding must be set in .postinst not .config

This commit is contained in:
Benjamin Dauvergne 2013-11-19 14:49:53 +01:00
parent 03b8214d0a
commit d17f7829b6
2 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,6 @@
# 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 amue-authentic2 $@
fi

View File

@ -28,6 +28,7 @@ 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_pgsql_createdb_encoding="UTF8"
dbc_generate_include=template:/etc/amue-authentic2/db.conf
dbc_generate_include_args="-o template_infile=/usr/share/amue-authentic2/templates/db.conf -U"
dbc_generate_include_owner="amue-authentic2"