mirror of
https://github.com/YunoHost-Apps/misskey_ynh.git
synced 2024-09-03 19:46:03 +02:00
Merge pull request #91 from YunoHost-Apps/memo-567-patch-1
Update upgrade - Ensure downward compatibility
This commit is contained in:
commit
0b73dac3e0
1 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,15 @@ port=$(ynh_app_setting_get --app=$app --key=port)
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
if ynh_compare_current_package_version --comparison lt --version 12.105.0~ynh1
|
||||||
|
then
|
||||||
|
ynh_die --message="Sorry, this version is not upgradable to the latest version :("
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue