From e7ba5800bd05d06ee7962dfb2acb37b509e8e600 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Wed, 6 Sep 2023 09:35:45 +0200
Subject: [PATCH] Reduce output of app install/upgrade script

---
 templates/nextcloud-onlyoffice-config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/nextcloud-onlyoffice-config.yaml b/templates/nextcloud-onlyoffice-config.yaml
index 70aec0c1..d6294791 100644
--- a/templates/nextcloud-onlyoffice-config.yaml
+++ b/templates/nextcloud-onlyoffice-config.yaml
@@ -106,7 +106,7 @@ data:
       # If the above url results in a 404, curl will not complain and store the
       # body of the 404 in the file :/. So we check here whether we actually
       # got a valid archive; `tar` will fail if not.
-      tar -tf "{{ .name }}.tar.gz"
+      tar -tf "{{ .name }}.tar.gz" >/dev/null
       # Remove old version of the app
       if [[ -d "$target_directory/{{ .name }}" ]]
       then
-- 
GitLab