diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-11-30 22:31:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 22:31:12 +0300 |
commit | f726fb8f394bb138bc739b149890cd930245456e (patch) | |
tree | 28bb844ddb5dde7385b78f0ccf35999056c1f00a | |
parent | f84c74c5ac3b928547da4b4564cad05d4ca4b931 (diff) |
only write output when changing
-rw-r--r-- | nextcloud_update.sh | 2 |
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" |