Update 61-trusted_domains

This commit is contained in:
Alexandre
2021-01-22 17:00:57 +01:00
committed by GitHub
parent 955afebc9a
commit cba5cd94f1

View File

@@ -10,10 +10,9 @@ 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." \
&& installation="no" \
$LAUNCHER config:system:get trusted_domains || bashio::log.info "Please first define an admin user before adding additional trusted domains." || exit
if bashio::config.has_value 'trusted_domains' && $installation != "no"; then
if bashio::config.has_value 'trusted_domains'; then
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
###################################
# Remove previous trusted domains #