Merge pull request #1156 from alexbelgium/create-pull-request/patch-1704623709

Github bot : script beautyshied
This commit is contained in:
Alexandre
2024-01-07 11:39:51 +01:00
committed by GitHub

View File

@@ -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