From 6cbd278d3c0c60e1e4ca10a632ac4e742466d4ce Mon Sep 17 00:00:00 2001 From: openhabian Date: Tue, 14 Nov 2023 22:45:46 +0100 Subject: [PATCH] =?UTF-8?q?Komma=20an=20falscher=20Stelle=20f=C3=BChrt=20z?= =?UTF-8?q?u=20nicht-syntaktisch=20korrektem=20astro.things?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: openhabian --- includes/setLocationAPI.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/setLocationAPI.bash b/includes/setLocationAPI.bash index 530cf096a..ffb04a97e 100755 --- a/includes/setLocationAPI.bash +++ b/includes/setLocationAPI.bash @@ -2,5 +2,5 @@ /usr/bin/echo "org.openhab.i18n:location=${1}" > /etc/openhab/services/location.cfg sed -i "s|location=.*|location=\"${1}\"|;s|apikey=.*|apikey=\"${2}\",|" "${OPENHAB_CONF:-/etc/openhab}/things/wetter.things" -sed -i "s|geolocation=.*|geolocation=\"${1},\"|" "${OPENHAB_CONF:-/etc/openhab}/things/astro.things" +sed -i "s|geolocation=.*|geolocation=\"${1}\",|" "${OPENHAB_CONF:-/etc/openhab}/things/astro.things"