Github bot : script beautyshied

This commit is contained in:
alexbelgium
2024-01-07 10:35:08 +00:00
committed by GitHub
parent 1fca9af887
commit cefbd781a7

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