diff --git a/scripts/install b/scripts/install index 1e4c499..7c19e49 100755 --- a/scripts/install +++ b/scripts/install @@ -107,13 +107,13 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." --weight=97 +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies + if [ $encryption -eq 1 ]; then # Install libolm-dev to be able to use encryption - ynh_install_extra_app_dependencies $pkg_dependencies_e2be + ynh_add_app_dependencies $pkg_dependencies_e2be fi -ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies - #================================================= # CREATE DEDICATED USER #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 3694285..6c0bc28 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,13 +97,13 @@ fi #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=1 +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies + if [ $encryption -eq 1 ]; then # Install libolm-dev to be able to use encryption - ynh_install_extra_app_dependencies $pkg_dependencies_e2be + ynh_add_app_dependencies $pkg_dependencies_e2be fi -ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies - #================================================= # SPECIFIC UPGRADE #=================================================