debian: dbc_pgsql_createdb_encoding must be set in .postinst not .config
This commit is contained in:
parent
03b8214d0a
commit
d17f7829b6
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Reference in New Issue