From 7834117af705b8cf457701d7068480c53360d395 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 22 Dec 2022 23:01:07 +0100 Subject: [PATCH] weewx-dwd --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 69dc2fd..74cb9b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,7 @@ RUN wget -nv -O icons-dwd.zip "https://www.dwd.de/DE/wetter/warnungen_aktuell/ob # Adjust (some) file content and permissions RUN sed -i -z -e "s|PTH=\"/etc/weewx/skins/Belchertown/dwd\"|PTH=\"/home/weewx/skins/weewx-wdc/dwd\"|g" /tmp/weewx-dwd/usr/local/bin/wget-dwd &&\ - sed -i -z -e "s|config = configobj.ConfigObj(\"/etc/weewx/weewx.conf\")|config = configobj.ConfigObj(\"/data/weewx.conf\")|g" /usr/local/bin/dwd-warnings &&\ + sed -i -z -e "s|config = configobj.ConfigObj(\"/etc/weewx/weewx.conf\")|config = configobj.ConfigObj(\"/data/weewx.conf\")|g" /tmp/weewx-dwd/usr/local/bin/dwd-warnings &&\ chmod +x /tmp/weewx-dwd/usr/local/bin/* &&\ chown -R weewx:weewx ${WEEWX_HOME}