silence getenv-based config check
This commit is contained in:
parent
99323f8665
commit
5e55651312
|
@ -77,7 +77,7 @@ if [ ! -s $DST_DIR/config.php ]; then
|
||||||
define('NGINX_XACCEL_PREFIX', '/tt-rss');
|
define('NGINX_XACCEL_PREFIX', '/tt-rss');
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
egrep 'SELF_URL_PATH.*getenv' $DST_DIR/config.php || \
|
egrep -q 'SELF_URL_PATH.*getenv' $DST_DIR/config.php || \
|
||||||
echo -e "\nWARNING: you're using old-style config.php, overrides via .env will not work.\n" >/dev/stderr
|
echo -e "\nWARNING: you're using old-style config.php, overrides via .env will not work.\n" >/dev/stderr
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue