From 87249678db1ae4d1aae3ce868b47ff68996ff969 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 31 Mar 2023 13:48:39 +0200 Subject: [PATCH] inform about new major release Signed-off-by: Daniel Hansson --- nextcloud-startup-script.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index 85fa4064..6e399892 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -549,6 +549,13 @@ run_script NETWORK trusted print_text_in_color "$ICyan" "System will now upgrade..." bash $SCRIPTS/update.sh minor +# Check if new major is out, and inform on how to update +if version_gt "$NCVERSION" "$CURRENTVERSION" +then + msg_box "We noticed that there's a new major release of Nextcloud ($NCVERSION).\nIf you want to update to the latest release instantly, please check this:\n +https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W7Du9uPiqQz3_Mr1/nextcloud-vm-machine-configuration?currentPageId=W7D3quPiqQz3_MsE" +fi + # Cleanup 2 apt-get autoremove -y apt-get autoclean