diff --git a/nextcloud/root/etc/cont-init.d/51-elasticsearch b/nextcloud/root/etc/cont-init.d/51-elasticsearch index e2d0c57fb..8d329c3ee 100644 --- a/nextcloud/root/etc/cont-init.d/51-elasticsearch +++ b/nextcloud/root/etc/cont-init.d/51-elasticsearch @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bashio -[ bashio::config.has_value 'test' ] || exit 0 +if bashio::config.has_value 'test'; then # https://raw.githubusercontent.com/nextcloud/vm/master/apps/fulltextsearch.sh # T&M Hansson IT AB © - 2021, https://www.hanssonit.se/ @@ -67,3 +67,5 @@ if nextcloud_occ fulltextsearch:index < /dev/null then msg_box "Full Text Search was successfully installed!" fi + +fi