mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
[fix] infinite loop on upgrade
This commit is contained in:
parent
66412c0601
commit
a448839b06
1 changed files with 1 additions and 2 deletions
|
@ -176,9 +176,8 @@ then
|
|||
fi
|
||||
|
||||
# While the current version is not the last version, do an upgrade
|
||||
while [ "$last_version" > "$current_version" ]
|
||||
while [[ "$last_version" > "$current_version" ]]
|
||||
do
|
||||
ynh_print_info --message="last: $last_version | current: $current_version"
|
||||
next_major_version="$(( $current_major_version + 1 ))"
|
||||
source_id="$next_major_version"
|
||||
if [[ "$next_major_version" -ge "$last_major_version" ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue