mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
update to newer version, don't downgrade.
This commit is contained in:
parent
40c2c62695
commit
6153cca56f
@ -64,7 +64,7 @@ else
|
||||
fi
|
||||
|
||||
# Check if new version is larger than current version installed.
|
||||
if [[ "$NCVERSION" < "$CURRENTVERSION" ]]
|
||||
if [[ "$NCVERSION" > "$CURRENTVERSION" ]]
|
||||
then
|
||||
echo "Latest version is: $NCVERSION. Current version is: $CURRENTVERSION."
|
||||
echo -e "\e[32mNew version available! Upgrade continues...\e[0m"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user