Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-11-30 22:31:12 +0300
committerGitHub <noreply@github.com>2021-11-30 22:31:12 +0300
commitf726fb8f394bb138bc739b149890cd930245456e (patch)
tree28bb844ddb5dde7385b78f0ccf35999056c1f00a
parentf84c74c5ac3b928547da4b4564cad05d4ca4b931 (diff)
only write output when changing
-rw-r--r--nextcloud_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nextcloud_update.sh b/nextcloud_update.sh
index baaf1bff..c91ccf80 100644
--- a/nextcloud_update.sh
+++ b/nextcloud_update.sh
@@ -592,9 +592,9 @@ $DOCKER_RUN_OUTPUT"
fi
# Fix Collabora change too coolwsd
-print_text_in_color "$ICyan" "Updating Collabora Engine"
if grep -r loolwsd $SITES_AVAILABLE/*
then
+ print_text_in_color "$ICyan" "Updating Collabora Engine..."
LOOLWSDCONF=$(grep -r loolwsd /etc/apache2/sites-available/*.conf | awk '{print $1}' | cut -d ":" -f1)
sed -i "s|/loleaflet|/browser|g" "$LOOLWSDCONF"
sed -i "s|loleaflet is the|broswer is the|g" "$LOOLWSDCONF"