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