From f879b8e88999f99492fe1beeea2566e92f329656 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Fri, 2 May 2008 16:39:49 +0200 Subject: [PATCH] Move dbconfig postinst settings to within the dbconfig block --- debian/scalable-opengroupware.org.postinst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/debian/scalable-opengroupware.org.postinst b/debian/scalable-opengroupware.org.postinst index 9e1b9a8d..13c28e64 100644 --- a/debian/scalable-opengroupware.org.postinst +++ b/debian/scalable-opengroupware.org.postinst @@ -10,15 +10,16 @@ if [ -z "$2" ]; then install -d -o sogo /var/log/sogo install -d -o sogo $SOGOHOME/GNUstep/Defaults - dbc_generate_include=template:/etc/scalable-opengroupware.org/config - dbc_generate_include_owner=sogo - dbc_generate_include_perms=0600 - dbc_pgsql_createdb_encoding=UTF8 - dbc_authmethod_user=password - dbc_generate_include_args="-f template" - if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then . /usr/share/dbconfig-common/dpkg/postinst.pgsql + + dbc_generate_include=template:/etc/scalable-opengroupware.org/config + dbc_generate_include_owner=sogo + dbc_generate_include_perms=0600 + dbc_pgsql_createdb_encoding=UTF8 + dbc_authmethod_user=password + dbc_generate_include_args="-o template_infile=/var/lib/scalable-opengroupware.org/gnustepdefaults.template" + dbc_go scalable-opengroupware.org "$@" fi ln -s /etc/scalable-opengroupware.org/config $SOGOHOME/GNUstep/Defaults/.GNUstepDefaults -- 2.39.5