got psql: FATAL: Ident authentication failed for user "root" on install
[iserv-mod-room-reservation.git] / debian / postinst
index f5e9b4d..ec6a94a 100755 (executable)
@@ -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
 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
 chkdb -r
 chkpriv
 chklocale
This page took 0.01959 seconds and 4 git commands to generate.