diff --git a/ozwcp/CHANGELOG.md b/ozwcp/CHANGELOG.md index f685eb4..91872ea 100644 --- a/ozwcp/CHANGELOG.md +++ b/ozwcp/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## [1.0.1] - 2018-04-07 +### Fixed +* Fix `/root/ozwcp.sh: line 12: xmlstarlet: command not found` when starting + ## [1.0] - 2018-04-06 Initial release! diff --git a/ozwcp/Dockerfile b/ozwcp/Dockerfile index eb642a7..d04898d 100644 --- a/ozwcp/Dockerfile +++ b/ozwcp/Dockerfile @@ -11,7 +11,8 @@ RUN apk --no-cache add \ gnutls-dev \ libmicrohttpd \ libusb \ - eudev + eudev \ + xmlstarlet RUN apk --no-cache --virtual .build-dependencies add \ coreutils \ diff --git a/ozwcp/config.json b/ozwcp/config.json index e86b8cf..604c780 100644 --- a/ozwcp/config.json +++ b/ozwcp/config.json @@ -1,7 +1,7 @@ { "name": "ozwcp", "url": "https://github.com/jkeljo/hassio-addons/blob/master/ozwcp", - "version": "1.0", + "version": "1.0.1", "slug": "ozwcp", "description": "Open ZWave Control Panel", "startup": "application", diff --git a/ozwcp/ozwcp.sh b/ozwcp/ozwcp.sh index c81643a..57eea63 100755 --- a/ozwcp/ozwcp.sh +++ b/ozwcp/ozwcp.sh @@ -15,7 +15,7 @@ xmlstarlet ed -L -N x="http://code.google.com/p/open-zwave/"\ -i '/x:Options/NewOption' -t attr -n name -v UserPath\ -i '/x:Options/NewOption' -t attr -n value -v "/config/"\ -r '/x:Options/NewOption' -v Option\ - options.xml + /config/options.xml # The part of OZW that *writes* the log respects the UserPath setting in options.xml # However, OZWCP's web interface expects to find it in its working directory (and its