From aded59f7f8b39118b61775d6e8fd31e971c1158b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 28 Jan 2022 17:47:38 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index dfd3a37..e510b21 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,6 +97,17 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." - # Create a dedicated NGINX config ynh_add_nginx_config +#============================================== +# INSTALL SUTOM +#============================================== +ynh_script_progression --message="Building Sutom... (this will take some time and resources!)" --weight=20 + +pushd "$final_path" + ynh_use_nodejs + ynh_exec_warn_less npm i -g npm + ynh_exec_warn_less npm install +popd + #================================================= # SETUP SYSTEMD #=================================================