1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Don't override (new) official templates with old ones during force upgrade (#68)

* Don't override (new) official templates with old ones

#66 would not work during a forced upgrade
This commit is contained in:
lapineige 2021-02-28 14:27:08 +01:00 committed by GitHub
parent bb64f6820c
commit 4a3567faf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ ynh_abort_if_errors
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
if [ "$upgrade_type" == "UPGRADE_APP" || "$upgrade_type" == "UPGRADE_FORCED" ] # we should do that during a force upgrade too (as it could lead to a version upgrade for instance)
then
ynh_script_progression --message="Upgrading source files..."