From 6aa9b0042c08dc2343a6c0f5b9aff83a8189b05d Mon Sep 17 00:00:00 2001 From: Lucas POUZAC Date: Mon, 23 Mar 2020 14:16:50 +0100 Subject: [PATCH] Fix entrypoint when EGW_SKIP_INSTALL usage --- doc/docker/fpm/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/docker/fpm/entrypoint.sh b/doc/docker/fpm/entrypoint.sh index f574a06aa31..a840578b050 100755 --- a/doc/docker/fpm/entrypoint.sh +++ b/doc/docker/fpm/entrypoint.sh @@ -37,7 +37,7 @@ chmod 600 $LOG 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 ] || \ +until [ -n "$EGW_SKIP_INSTALL" -a -f /var/lib/egroupware/header.inc.php ] || \ php /usr/share/egroupware/doc/rpm-build/post_install.php \ --start_webserver "" --autostart_webserver "" \ --start_db "" --autostart_db "" \ @@ -65,4 +65,4 @@ done 2>&1 | tee -a $LOG # to run async jobs service cron start -exec "$@" \ No newline at end of file +exec "$@"