Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <mailto@danielhansson.nu>2022-10-07 14:54:52 +0300
committerGitHub <noreply@github.com>2022-10-07 14:54:52 +0300
commit9e7d9e60ac37bf4de6df03ccf109e7c86e39dc6d (patch)
treee70cf698665a7a4caccb723189c8cc9074c5f6a8
parent033771df354e311f40e8ef22ef35365ba20b716d (diff)
order changed on server
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
-rw-r--r--nextcloud_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nextcloud_update.sh b/nextcloud_update.sh
index 34ab65f2..12a90975 100644
--- a/nextcloud_update.sh
+++ b/nextcloud_update.sh
@@ -705,7 +705,7 @@ then
elif [ -f /tmp/nextmajor.version ]
then
NCBAD=$(cat /tmp/nextmajor.version)
- NCVERSION=$(curl -s -m 900 $NCREPO/ | sed --silent 's/.*href="nextcloud-\([^"]\+\).zip.asc".*/\1/p' | sort --version-sort | grep $NCNEXT | tail -1)
+ NCVERSION=$(curl -s -m 900 $NCREPO/ | sed --silent 's/.*href="nextcloud-\([^"]\+\).zip.asc".*/\1/p' | sort --version-sort | grep $NCNEXT | head -1)
if [ -z "$NCVERSION" ]
then
msg_box "The version that you are trying to upgrade to doesn't exist."