mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update run.txt
This commit is contained in:
@@ -45,10 +45,10 @@ done
|
|||||||
# CONFIG YAML #
|
# CONFIG YAML #
|
||||||
###############
|
###############
|
||||||
|
|
||||||
CONFIGSOURCE="/config/addons_config/mealie/config.yml"
|
CONFIGSOURCE="/config/addons_config/mealie"
|
||||||
|
|
||||||
if [ -f "$CONFIGSOURCE" ]; then
|
if [ -f "$CONFIGSOURCE/config.yaml" ]; then
|
||||||
bashio::log.info "Config.yml found in $CONFIGSOURCE, exporting variables"
|
bashio::log.info "config.yaml found in $CONFIGSOURCE, exporting variables"
|
||||||
|
|
||||||
# Helper function
|
# Helper function
|
||||||
function parse_yaml {
|
function parse_yaml {
|
||||||
@@ -98,7 +98,7 @@ while IFS= read -r line; do
|
|||||||
done <"/tmpfile"
|
done <"/tmpfile"
|
||||||
|
|
||||||
else
|
else
|
||||||
bashio::log.info "No config.yml found in $CONFIGSOURCE, using default parameters"
|
bashio::log.info "No config.yaml found in $CONFIGSOURCE, using default parameters"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
###############
|
###############
|
||||||
|
|||||||
Reference in New Issue
Block a user