1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Update upgrade

This commit is contained in:
Mateusz 2023-12-03 17:05:03 +01:00 committed by GitHub
parent 37e87f6e71
commit 7fb9add684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ source /usr/share/yunohost/helpers
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
@ -62,6 +62,8 @@ fi
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
# 1.7.1~ynh2 accidently shipped 1.6.5, force upgrade on that version even if it's theoretically the same upstream release
if [ "$upgrade_type" == "UPGRADE_APP" ] || ynh_compare_current_package_version --comparison eq --version "1.7.1~ynh2"
then
ynh_script_progression --message="Upgrading source files..." --weight=1