Update 00-global_var.sh

This commit is contained in:
Alexandre
2024-01-07 11:34:36 +01:00
committed by GitHub
parent 841f1e2578
commit 1fca9af887

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