From: Roland Hieber Date: Fri, 23 Oct 2009 10:15:50 +0000 (+0200) Subject: got psql: FATAL: Ident authentication failed for user "root" on install X-Git-Tag: REL_9.12.08~4 X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/6e545b33c0e9f7fec35910c5d0e9af3e558b67bf got psql: FATAL: Ident authentication failed for user "root" on install --- diff --git a/debian/postinst b/debian/postinst index f5e9b4d..ec6a94a 100755 --- a/debian/postinst +++ b/debian/postinst @@ -2,6 +2,8 @@ touch /usr/share/iserv/www/inc/mod_room-reservation/config.inc chmod g+w /usr/share/iserv/www/inc/mod_room-reservation/config.inc chgrp www-data /usr/share/iserv/www/inc/mod_room-reservation/config.inc +export PGDATABASE=iserv +export PGUSER=postgres chkdb -r chkpriv chklocale