Skip to content

Commit

Permalink
Komma an falscher Stelle führt zu nicht-syntaktisch korrektem astro.t…
Browse files Browse the repository at this point in the history
…hings

Signed-off-by: openhabian <openhabian@openHABian>
  • Loading branch information
openhabian authored and openhabian committed Nov 14, 2023
1 parent 22cc995 commit 6cbd278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/setLocationAPI.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 6cbd278

Please sign in to comment.