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:
parent
bb64f6820c
commit
4a3567faf5
1 changed files with 1 additions and 1 deletions
|
@ -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..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue