bahmcloud_store_installer/run.sh aktualisiert

This commit is contained in:
2026-01-14 17:53:26 +00:00
parent cfb0e43605
commit 9526b1143f

View File

@@ -1,7 +1,7 @@
#!/bin/sh
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"
echo "Downloading: $ZIP_URL"