mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-09 07:20:58 +02:00
Update 00-global_var.sh
This commit is contained in:
@@ -41,9 +41,6 @@ for KEYS in "${arr[@]}"; do
|
|||||||
######################################
|
######################################
|
||||||
# Export the variable to run scripts #
|
# Export the variable to run scripts #
|
||||||
######################################
|
######################################
|
||||||
KEYS="${line%%=*}"
|
|
||||||
VALUE="${line#*=}"
|
|
||||||
line="${KEYS}='${VALUE}'"
|
|
||||||
export "$line"
|
export "$line"
|
||||||
# export to python
|
# export to python
|
||||||
if command -v "python3" &>/dev/null; then
|
if command -v "python3" &>/dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user