diff --git a/nextcloud/root/etc/cont-init.d/61-trusted_domains b/nextcloud/root/etc/cont-init.d/61-trusted_domains index ef76e96cf..83af5658c 100644 --- a/nextcloud/root/etc/cont-init.d/61-trusted_domains +++ b/nextcloud/root/etc/cont-init.d/61-trusted_domains @@ -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 #