From 2fb9b2c711fed4cbdba6a00ef0c4145a2b97cd8b Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Mon, 19 Jan 2026 10:56:52 +0100 Subject: [PATCH] fix(nextcloud_update.sh): fix script failing because `nextcloud_occ_no_check` is not set Signed-off-by: Simon L. --- nextcloud_update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 968db0192b..d1eb330650 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -1237,9 +1237,9 @@ then fi if [ "${CURRENTVERSION%%.*}" -ge "22" ] then - if ! nextcloud_occ config:system:get maintenance_window_start + if [ -z "$(nextcloud_occ_no_check config:system:get maintenance_window_start)" ]; then - nextcloud_occ config:system:set maintenance_window_start --type=integer --value=2 + nextcloud_occ config:system:set maintenance_window_start --type=integer --value=100 fi fi if [ "${CURRENTVERSION%%.*}" -ge "23" ]