mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
typo
This commit is contained in:
parent
3ced5e2a7c
commit
e6a6fffef1
1 changed files with 2 additions and 3 deletions
|
@ -100,7 +100,7 @@ fi
|
|||
#=================================================
|
||||
backup_before_upgrade=$(ynh_app_setting_get --app=$app --key=backup_before_upgrade)
|
||||
if [ -z "$backup_before_upgrade" ] ; then
|
||||
if [ $(ynh_app_setting_get --app=$app --key=disable_backup_before_upgrade) ] ; then
|
||||
if $(ynh_app_setting_get --app=$app --key=disable_backup_before_upgrade) ; then
|
||||
backup_before_upgrade="false"
|
||||
fi
|
||||
|
||||
|
@ -113,8 +113,7 @@ ynh_script_progression --message="Backing up the app before upgrading (may take
|
|||
ynh_systemd_action --service_name=matrix-$app.service --action=stop
|
||||
|
||||
# Backup the current version of the app
|
||||
if [ backup_before_upgrade ]
|
||||
then
|
||||
if $backup_before_upgrade ; then
|
||||
ynh_backup_before_upgrade
|
||||
ynh_clean_setup () {
|
||||
# Clean installation remainings that are not handled by the remove script.
|
||||
|
|
Loading…
Add table
Reference in a new issue