bahmcloud_store_installer/run.sh aktualisiert
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
ZIP_URL="$(cat /data/options.json | sed -n 's/.*"store_component_zip"[ ]*:[ ]*"\([^"]*\)".*/\1/p')"
|
ZIP_URL="$(grep -o '"store_component_zip"[[:space:]]*:[[:space:]]*"[^"]*"' /data/options.json | sed 's/.*"store_component_zip"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/')"
|
||||||
TARGET="/config/custom_components/bahmcloud_store"
|
TARGET="/config/custom_components/bahmcloud_store"
|
||||||
|
|
||||||
echo "Downloading: $ZIP_URL"
|
echo "Downloading: $ZIP_URL"
|
||||||
|
|||||||
Reference in New Issue
Block a user