mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 00-global_var.sh
This commit is contained in:
@@ -66,7 +66,7 @@ for KEYS in "${arr[@]}"; do
|
|||||||
# shellcheck disable=SC2163
|
# shellcheck disable=SC2163
|
||||||
export "$line"
|
export "$line"
|
||||||
# export to python
|
# export to python
|
||||||
if command -v "python3" &>/dev/null && ; then
|
if command -v "python3" &>/dev/null ; then
|
||||||
[ ! -f /env.py ] && echo "import os" > /env.py
|
[ ! -f /env.py ] && echo "import os" > /env.py
|
||||||
# Escape \
|
# Escape \
|
||||||
VALUEPY="${VALUEPY//\\/\\\\}"
|
VALUEPY="${VALUEPY//\\/\\\\}"
|
||||||
|
|||||||
Reference in New Issue
Block a user