diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 5ac5bdee5a..239c8825b9 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -234,13 +234,6 @@ then rm -f $SCRIPTS/lib.sh fi -# Update updatenotification.sh -if [ -f $SCRIPTS/updatenotification.sh ] -then - download_script STATIC updatenotification - chmod +x $SCRIPTS/updatenotification.sh -fi - # Make sure everyone gets access to menu.sh download_script MENU menu @@ -671,6 +664,13 @@ then fi fi +# Update updatenotification.sh +if [ -f $SCRIPTS/updatenotification.sh ] +then + download_script STATIC updatenotification + chmod +x $SCRIPTS/updatenotification.sh +fi + ############# Don't upgrade to specific version DONOTUPDATETO='20.0.6' if [[ "$NCVERSION" == "$DONOTUPDATETO" ]]