Update 61-trusted_domains

This commit is contained in:
Alexandre
2021-01-22 12:39:58 +01:00
committed by GitHub
parent 34d17512b9
commit ce258d9552

View File

@@ -2,7 +2,15 @@
if bashio::config.has_value 'trusted_domains'; then
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
####################
# Set occ location #
####################
LAUNCHER="/data/config/www/nextcloud/occ"
if ! bashio::fs.file_exists '/data/config/www/nextcloud/occ'; then
LAUNCHER=`find / -name "occ"`
fi
###################################
# Remove previous trusted domains #
###################################