From: Roland Hieber Date: Thu, 27 Aug 2009 02:10:15 +0000 (+0200) Subject: fixed update script: could not authenticate as root in psql X-Git-Tag: REL_9.08.25-1~2 X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/commitdiff_plain/bdc91cb49adecf3a8488bd1482740a0254b2c5f2 fixed update script: could not authenticate as root in psql --- diff --git a/debian/postinst b/debian/postinst index 573602d..8c50428 100644 --- a/debian/postinst +++ b/debian/postinst @@ -7,5 +7,7 @@ chgrp www-data /usr/share/iserv/www/inc/mod_error-reporter/config.inc chkpriv chklocale # run update script +export PGDATABASE=iserv +export PGUSER=postgres php /usr/share/iserv/modules/error-reporter/update.php #DEBHELPER#