Skip to content

Commit

Permalink
only update the updatenotification script if a new Nextcloud updatae …
Browse files Browse the repository at this point in the history
…is available (#2065)

Signed-off-by: szaimen <[email protected]>
  • Loading branch information
szaimen authored Jul 26, 2021
1 parent ca7dced commit 87c7aff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions nextcloud_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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" ]]
Expand Down

0 comments on commit 87c7aff

Please sign in to comment.