run post_install.php as www-data to have no need and therefore skip chown -R /var/lib/egroupware

This commit is contained in:
Ralf Becker 2020-11-04 11:57:12 +01:00
parent 3ac80c316f
commit 187a46ff51

View File

@ -46,7 +46,7 @@ max_retries=10
export try=0
# EGW_SKIP_INSTALL=true skips initial installation (no header.inc.php yet)
until [ -n "$EGW_SKIP_INSTALL" -a ! -f /var/lib/egroupware/header.inc.php ] || \
php /usr/share/egroupware/doc/rpm-build/post_install.php \
sudo -u www-data php /usr/share/egroupware/doc/rpm-build/post_install.php \
--start_webserver "" --autostart_webserver "" \
--start_db "" --autostart_db "" \
--db_type "${EGW_DB_TYPE:-mysqli}" \