mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 20:34:04 +02:00
Update 00-global_var.sh
This commit is contained in:
@@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do
|
|||||||
VALUE=$(jq .$KEYS ${JSONSOURCE})
|
VALUE=$(jq .$KEYS ${JSONSOURCE})
|
||||||
line="${KEYS}=${VALUE//[\"\']/}"
|
line="${KEYS}=${VALUE//[\"\']/}"
|
||||||
# Use locally
|
# Use locally
|
||||||
bashio::log.blue "$line"
|
if ! bashio::config.false "verbose";then bashio::log.blue "$line"; fi
|
||||||
export $line
|
export $line
|
||||||
# Export the variable to run scripts
|
# Export the variable to run scripts
|
||||||
line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"
|
line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"
|
||||||
|
|||||||
Reference in New Issue
Block a user