fix grepping for collabora string

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2024-03-28 15:53:57 +01:00
parent d7d352ebdd
commit 9f6f396447

View file

@ -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