From bdc91cb49adecf3a8488bd1482740a0254b2c5f2 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Thu, 27 Aug 2009 04:10:15 +0200 Subject: [PATCH] fixed update script: could not authenticate as root in psql --- debian/postinst | 2 ++ 1 file changed, 2 insertions(+) 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# -- 2.20.1