From f3114bfcefbe923fe86c4f51d86ec0d098cd66b3 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 23 Feb 2022 18:17:36 +0100 Subject: [PATCH] fix upgarde check --- bundles/nextcloud/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/nextcloud/items.py b/bundles/nextcloud/items.py index f2fe313..d8eee4e 100644 --- a/bundles/nextcloud/items.py +++ b/bundles/nextcloud/items.py @@ -116,7 +116,7 @@ actions['install_nextcloud'] = { actions['upgrade_nextcloud'] = { 'command': repo.libs.nextcloud.occ('upgrade'), - 'unless': "! " + repo.libs.nextcloud.occ('status') + ' | grep -q "Nextcloud or one of the apps require upgrade"', + 'unless': "! " + repo.libs.nextcloud.occ('status') + ' 2>&1 1>/dev/null | grep -q "Nextcloud or one of the apps require upgrade"', 'needs': [ 'action:install_nextcloud', ],