fix upgarde check

This commit is contained in:
mwiegand 2022-02-23 18:17:36 +01:00
parent f82fa22be8
commit f3114bfcef

View file

@ -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',
],