1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

more explanation in the message

This commit is contained in:
Robles Rodolphe 2021-03-29 18:14:45 +02:00
parent 4ef8389109
commit d5ccc4493d

View file

@ -26,7 +26,8 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
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'"
'sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/garradin_ynh/tree/0.9.8 --debug'
and please first connect to your garradin admin page before updating to version 1.0.*"
ynh_die "Sorry your version is outdated and need first an update to version O.9.8.1"
else
upgrade_type=$(ynh_check_app_version_changed)