diff --git a/scripts/install b/scripts/install index 2c59bc5..967d4c0 100644 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,11 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= # INSTALL DEPENDENCIES #================================================= -ynh_script_progression --message="Installing dependencies..." --weight=120 +ynh_script_progression --message="Installing dependencies..." --weight=12 + +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies + +ynh_install_nodejs --nodejs_version=$nodejs_version if [ "$export" = "abiword" ]; then ynh_install_app_dependencies $abiword_app_depencencies @@ -78,15 +82,6 @@ elif [ "$export" = "libreoffice" ]; then ynh_install_app_dependencies $libreoffice_app_dependencies fi -#================================================= -# INSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Installing dependencies..." --weight=12 - -ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies - -ynh_install_nodejs --nodejs_version=$nodejs_version - #================================================= # CREATE A POSTQRESQL DATABASE #=================================================