From fc9f5b7b09f5e85b99b3d4caa00c7598aba83ed7 Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 5 May 2022 21:03:52 +0200 Subject: [PATCH] invert condition --- php_fpm/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_fpm/entrypoint.sh b/php_fpm/entrypoint.sh index 74c4f17..baef735 100644 --- a/php_fpm/entrypoint.sh +++ b/php_fpm/entrypoint.sh @@ -51,7 +51,7 @@ then cd /data if [ -f core/config.php ]; then echo "core/config.php exists, not running installer." - elif [ -f scripts/cli_install.php ]; then + 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"