Update 61-trusted_domains

This commit is contained in:
Alexandre
2021-01-22 15:52:20 +01:00
committed by GitHub
parent 82de6933d6
commit e2dd78fe54

View File

@@ -10,9 +10,10 @@ LAUNCHER=`find / -name "occ" -print -quit`
fi
bashio::log.info "Currently set trusted domains :"
$LAUNCHER config:system:get trusted_domains || bashio::log.info "Please first define an admin user before adding additional trusted domains." && exit
$LAUNCHER config:system:get trusted_domains || bashio::log.info "Please first define an admin user before adding additional trusted domains." \
&& installation="no"
if bashio::config.has_value 'trusted_domains'; then
if bashio::config.has_value 'trusted_domains' && $installation = "no"; then
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
###################################
# Remove previous trusted domains #