mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 14:54:07 +02:00
Update entrypoint.sh
This commit is contained in:
@@ -12,7 +12,7 @@ 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"
|
echo "${KEYS}=$(jq .$KEYS ${JSONSOURCE})"
|
||||||
done
|
done
|
||||||
|
|
||||||
####################
|
####################
|
||||||
|
|||||||
Reference in New Issue
Block a user