Fix encryption enabled dependencies

This commit is contained in:
Dante 2022-08-27 22:33:17 +01:00
parent c9d302fa57
commit f75ce35a22
2 changed files with 6 additions and 6 deletions

View file

@ -107,13 +107,13 @@ ynh_app_setting_set --app=$app --key=port --value=$port
#================================================= #=================================================
ynh_script_progression --message="Installing dependencies..." --weight=97 ynh_script_progression --message="Installing dependencies..." --weight=97
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
if [ $encryption -eq 1 ]; then if [ $encryption -eq 1 ]; then
# Install libolm-dev to be able to use encryption # 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 fi
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER
#================================================= #=================================================

View file

@ -97,13 +97,13 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Upgrading dependencies..." --weight=1 ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
if [ $encryption -eq 1 ]; then if [ $encryption -eq 1 ]; then
# Install libolm-dev to be able to use encryption # 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 fi
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================