mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Update 90-config_yaml.sh
This commit is contained in:
@@ -57,6 +57,11 @@ else
|
|||||||
# bashio::exit.nok
|
# bashio::exit.nok
|
||||||
fi
|
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
|
# Export all yaml entries as env variables
|
||||||
# Helper function
|
# Helper function
|
||||||
function parse_yaml {
|
function parse_yaml {
|
||||||
|
|||||||
Reference in New Issue
Block a user