Update 90-config_yaml.sh

This commit is contained in:
Alexandre
2022-02-24 12:26:27 +01:00
committed by GitHub
parent a586eb51d3
commit a4aac6c4f5

View File

@@ -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 {