mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-30 11:16:06 +02:00
Update 01-config_yaml.sh
This commit is contained in:
@@ -168,9 +168,9 @@ while IFS= read -r line; do
|
|||||||
KEYS="${line%%=*}"
|
KEYS="${line%%=*}"
|
||||||
VALUE="${line#*=}"
|
VALUE="${line#*=}"
|
||||||
# Check if VALUE is quoted
|
# Check if VALUE is quoted
|
||||||
if [[ "$VALUE" != \"*\" ]] && [[ "$VALUE" != \'*\' ]]; then
|
#if [[ "$VALUE" != \"*\" ]] && [[ "$VALUE" != \'*\' ]]; then
|
||||||
VALUE="\"$VALUE\""
|
# VALUE="\"$VALUE\""
|
||||||
fi
|
#fi
|
||||||
line="${KEYS}=${VALUE}"
|
line="${KEYS}=${VALUE}"
|
||||||
export "$line"
|
export "$line"
|
||||||
# export to python
|
# export to python
|
||||||
|
|||||||
Reference in New Issue
Block a user