diff --git a/conf/0.9.8.src b/conf/0.9.8.src deleted file mode 100644 index 0be6dec..0000000 --- a/conf/0.9.8.src +++ /dev/null @@ -1,6 +0,0 @@ -SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-0.9.8.1.tar.bz2 -SOURCE_SUM=7cc64b51c9721c2dd7ee510f245bcfc4693ee07f74581ad74003906eb4716ef1 -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=tar.bz2 -SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index 21bf618..55fe4e4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -24,13 +24,14 @@ 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_setup_source --dest_dir="$final_path" --source_id="0.9.8" + 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" +else + upgrade_type=$(ynh_check_app_version_changed) fi -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # ENSURE DOWNWARD COMPATIBILITY #=================================================