From cba5cd94f1a8cf511cc0c17eb89e1666cb8fb7e9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 22 Jan 2021 17:00:57 +0100 Subject: [PATCH] Update 61-trusted_domains --- nextcloud/root/etc/cont-init.d/61-trusted_domains | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 #