1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/meilisearch_ynh.git synced 2024-09-03 19:45:59 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-04-18 10:37:02 +02:00
parent a6c3b99516
commit 97f05c0252

View file

@ -13,7 +13,11 @@ source /usr/share/yunohost/helpers
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
if ynh_compare_current_package_version --comparison lt --version 1.1.0~ynh1; then
ynh_die --message="Please remove and reinstall Meilisearch"
else
upgrade_type=$(ynh_check_app_version_changed)
fi
#=================================================
# STANDARD UPGRADE STEPS