From 702dd2841cf404cb691a810be7e88cfb7325bfc6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Feb 2021 21:44:51 +0300 Subject: [PATCH] fix previous --- app/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/startup.sh b/app/startup.sh index af4a178..612ba2c 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -73,7 +73,7 @@ fi if [ ! -s $DST_DIR/config.php ]; then cp /config.docker.php $DST_DIR/config.php else - if egrep -q 'SELF_URL_PATH.*getenv' $DST_DIR/config.php; then + if ! egrep -q 'SELF_URL_PATH.*getenv' $DST_DIR/config.php; then echo -e "\nWARNING: you're using old-style config.php, overrides via .env will not work.\n" >/dev/stderr else cp /config.docker.php $DST_DIR/config.php