mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
@@ -113,7 +113,7 @@ while IFS= read -r line; do
|
|||||||
if [[ "$line" =~ ^.+[=].+$ ]]; then
|
if [[ "$line" =~ ^.+[=].+$ ]]; then
|
||||||
export "$line"
|
export "$line"
|
||||||
# extract keys and values
|
# extract keys and values
|
||||||
KEYS="${line%=*}"
|
KEYS="${line%%=*}"
|
||||||
VALUE="${line#*=}"
|
VALUE="${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