From aebd308481c3c70aa56288fadd91f6bb0daedb9b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 15 Jan 2022 10:12:54 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 687fe67..61be0dd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,14 +99,20 @@ fi # STANDARD MODIFICATIONS #================================================= -# INSTALL DEPENDENCIES -ynh_script_progression --message="Upgrading dependencies..." -install_dependance +#================================================= +# UPGRADE DEPENDENCIES +#================================================= +ynh_script_progression --message="Upgrading dependencies..." --time --weight=1 +ynh_install_app_dependencies $pkg_dependencies + +#================================================= +# UPDATE A CONFIG FILE +#================================================= ynh_script_progression --message="Configuring application..." # Configure SOGO -ynh_add_config --template="sogo.conf" --destination="/etc/$app/sogo.conf" +ynh_add_config --template="../conf/sogo.conf" --destination="/etc/$app/sogo.conf" # Configure stunnel config_stunnel