X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/ae87133905d183987eb75369fe94bb739a2b1cb9..4ee7b3a417ec4fc013ee9fa3c78e8f643cdc7ad1:/debian/postinst diff --git a/debian/postinst b/debian/postinst old mode 100755 new mode 100644 index 9d55bf5..8c50428 --- a/debian/postinst +++ b/debian/postinst @@ -2,9 +2,12 @@ touch /usr/share/iserv/www/inc/mod_error-reporter/config.inc chmod g+w /usr/share/iserv/www/inc/mod_error-reporter/config.inc chgrp www-data /usr/share/iserv/www/inc/mod_error-reporter/config.inc -chkdb -r +# better let update.php do it because chkdb instantly drops old fields +# chkdb -r chkpriv chklocale # run update script +export PGDATABASE=iserv +export PGUSER=postgres php /usr/share/iserv/modules/error-reporter/update.php #DEBHELPER#