1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-12 14:39:52 +02:00

fix previous

This commit is contained in:
Andrew Dolgov 2021-02-01 21:44:51 +03:00
parent 58dbc56712
commit be3213b3ee

View file

@ -68,7 +68,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