mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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 #
|
||||
######################################
|
||||
KEYS="${line%%=*}"
|
||||
VALUE="${line#*=}"
|
||||
line="${KEYS}='${VALUE}'"
|
||||
export "$line"
|
||||
# export to python
|
||||
if command -v "python3" &>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user