diff --git a/debian/amue-authentic2.config b/debian/amue-authentic2.config index f4a60e3..6a4bbc5 100644 --- a/debian/amue-authentic2.config +++ b/debian/amue-authentic2.config @@ -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 diff --git a/debian/amue-authentic2.postinst b/debian/amue-authentic2.postinst index 3f3cf9d..26613cf 100644 --- a/debian/amue-authentic2.postinst +++ b/debian/amue-authentic2.postinst @@ -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"