mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 90-config_yaml.sh
This commit is contained in:
@@ -57,6 +57,11 @@ else
|
||||
# bashio::exit.nok
|
||||
fi
|
||||
|
||||
# Check if = instead of :
|
||||
if [[ "$(grep -c "=" "config.yaml")" > 2 ]]; then
|
||||
bashio::log.warning 'Are you sure you did not use "KEY=VALUE" ? yaml nomenclature requires "KEY:VALUE"'
|
||||
fi
|
||||
|
||||
# Export all yaml entries as env variables
|
||||
# Helper function
|
||||
function parse_yaml {
|
||||
|
||||
Reference in New Issue
Block a user