mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-30 01:31:43 +00:00
Github bot : script beautyshied
This commit is contained in:
1 parent
1fca9af887
commit
cefbd781a7
1 file changed
+1
-1
@@ -14,7 +14,7 @@ JSONSOURCE="/data/options.json"
|
||||
mapfile -t arr < <(jq -r 'keys[]' "${JSONSOURCE}")
|
||||
|
||||
for KEYS in "${arr[@]}"; do
|
||||
# export key
|
||||
# export key
|
||||
VALUE=$(jq ."$KEYS" "${JSONSOURCE}")
|
||||
# Check if the value is an array
|
||||
if [[ "$VALUE" == \[* ]]; then
|
||||
|
||||
Reference in new issue
Block a user