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:
parent
a6c3b99516
commit
97f05c0252
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue