From 9f6f396447ceddcc65721636f963c01fa7a94aea Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 28 Mar 2024 15:53:57 +0100 Subject: [PATCH] fix grepping for collabora string Signed-off-by: Simon L --- Containers/nextcloud/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 518a2219ec6..0adc3fdc856 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -540,7 +540,7 @@ php /var/www/html/occ config:app:set notify_push base_endpoint --value="https:// # Collabora if [ "$COLLABORA_ENABLED" = 'yes' ]; then set -x - if [ "$COLLABORA_HOST" = "nextcloud-.*-collabora" ]; then + if echo "$COLLABORA_HOST" | grep -q "nextcloud-.*-collabora"; then COLLABORA_HOST="$NC_DOMAIN" fi set +x