From 4265cebd2e5c170c1d6cc3bff1e19e92765ea2c6 Mon Sep 17 00:00:00 2001 From: Davide Aprea <davide@suma-ev.de> Date: Thu, 19 Nov 2020 11:54:10 +0100 Subject: [PATCH] fix sumas fallback --- init.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.sh b/init.sh index 961033a40..63305b0bd 100755 --- a/init.sh +++ b/init.sh @@ -7,12 +7,12 @@ if [ ! -f "/data/.env" ]; then cp /data/.env.example /data/.env fi -if [ ! -f "/config/sumas.json" ]; then - cp /config/sumas.json.example /config/sumas.json +if [ ! -f "/data/config/sumas.json" ]; then + cp /data/config/sumas.json.example /data/config/sumas.json fi -if [ ! -f "/config/sumasEn.json" ]; then - cp /config/sumas.json.example /config/sumasEn.json +if [ ! -f "/data/config/sumasEn.json" ]; then + cp /data/config/sumas.json.example /data/config/sumasEn.json fi if [ -f "/data/database/useragents.sqlite" ]; then -- GitLab