mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 01:25:58 +02:00
Update 90-config_yaml.sh
This commit is contained in:
@@ -81,7 +81,7 @@ while IFS= read -r line; do
|
|||||||
# Get text
|
# Get text
|
||||||
secret=$(sed -n "/$secret:/p" /config/secrets.yaml)
|
secret=$(sed -n "/$secret:/p" /config/secrets.yaml)
|
||||||
secret=${secret#*: }
|
secret=${secret#*: }
|
||||||
line="${line%%=*}=$secret"
|
line="${line%%=*}='$secret'"
|
||||||
fi
|
fi
|
||||||
# Data validation
|
# Data validation
|
||||||
if [[ $line =~ ^.+[=].+$ ]]; then
|
if [[ $line =~ ^.+[=].+$ ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user