mirror of
https://github.com/YunoHost-Apps/misskey_ynh.git
synced 2024-09-03 19:46:03 +02:00
Fix upgrade
This commit is contained in:
parent
17e37e6e9a
commit
4b9926e55b
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,7 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
|
||||
if ynh_compare_current_package_version --comparison lt --version 12.119.2~ynh1
|
||||
if ynh_compare_current_package_version --comparison lt --version 12.109.2~ynh1
|
||||
then
|
||||
ynh_die --message="Sorry, this version is not upgradable to the latest version :("
|
||||
fi
|
||||
|
@ -106,6 +106,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
pushd "$final_path"
|
||||
git config --system --add safe.directory *
|
||||
git checkout master
|
||||
git pull --quiet
|
||||
git checkout $COMMIT --quiet
|
||||
|
|
Loading…
Add table
Reference in a new issue