From a99110d9f5925ac3bb633b93597114b8b4acda61 Mon Sep 17 00:00:00 2001 From: Robin Date: Wed, 4 May 2022 13:06:05 +0200 Subject: [PATCH] Don't try to run CLI installer if it doesn't exist --- php_fpm/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php_fpm/entrypoint.sh b/php_fpm/entrypoint.sh index 2644c7a..74c4f17 100644 --- a/php_fpm/entrypoint.sh +++ b/php_fpm/entrypoint.sh @@ -51,6 +51,8 @@ then cd /data if [ -f core/config.php ]; then echo "core/config.php exists, not running installer." + elif [ -f scripts/cli_install.php ]; then + echo "CLI install script doesn't exist, not running installer." else echo "Going to run installer, first waiting 10 seconds for the database to start" sleep 10