mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
add explanation for message if version outdated
This commit is contained in:
parent
83779d120e
commit
696d4be07d
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
# CHECK VERSION
|
||||
#=================================================
|
||||
if ynh_compare_current_package_version --comparison lt --version 0.9.8.1~ynh1; then
|
||||
ynh_print_info --message="Sorry your version is outdated and need first an update to version O.9.8.1 with the branch 0.9.8, proceed like that: 'sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/garradin_ynh/tree/0.9.8 --debug'"
|
||||
ynh_die "Sorry your version is outdated and need first an update to version O.9.8.1 with the branch 0.9.8, proceed like that: 'sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/garradin_ynh/tree/0.9.8 --debug'"
|
||||
ynh_print_info --message="Sorry your version is outdated and need first an update to version 0.9.8.1 with the branch 0.9.8, proceed like that: 'sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/garradin_ynh/tree/0.9.8 --debug' and open your admin page to finalize before next update"
|
||||
ynh_die "Sorry your version is outdated and need first an update to version 0.9.8.1 with the branch 0.9.8, proceed like that: 'sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/garradin_ynh/tree/0.9.8 --debug' and open your admin page to finalize before next update"
|
||||
else
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue