mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update 00-aaa_options_export.sh
This commit is contained in:
@@ -12,4 +12,5 @@ mapfile -t arr < <(jq -r 'keys[]' ${JSONSOURCE})
|
|||||||
for KEYS in ${arr[@]}; do
|
for KEYS in ${arr[@]}; do
|
||||||
# export key
|
# export key
|
||||||
export $(echo "${KEYS}=$(jq .$KEYS ${JSONSOURCE})")
|
export $(echo "${KEYS}=$(jq .$KEYS ${JSONSOURCE})")
|
||||||
|
echo "All addon configs exported as env variables"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user