1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minio_ynh.git synced 2024-09-03 19:46:18 +02:00
This commit is contained in:
Limezy 2023-03-04 00:01:37 +07:00
parent 14e6d6a809
commit 12a10904fe
2 changed files with 9 additions and 2 deletions

View file

@ -12,7 +12,6 @@
setup_private=1
setup_public=1
upgrade=1
upgrade=1 from_commit=1ef6a65e00dbb39dac8919cf6c5f4313fea8462e
backup_restore=1
multi_instance=0
port_already_use=0

View file

@ -70,7 +70,15 @@ then
ynh_exec_warn_less sudo -u $app $mc_path/mc mirror --preserve "minio/$d" "$tmp/$d"
fi
done
if ynh_compare_current_package_version --comparison gt --version 2022.09.01~ynh1
if ynh_compare_current_package_version --comparison eq --version 2022.09.01~ynh1
then
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum"
fi
if ynh_compare_current_package_version --comparison eq --version 2022.11.11~ynh1
then
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum"
fi
if ynh_compare_current_package_version --comparison eq --version 2023.01.11~ynh1
then
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum"
fi