From 10f06187714ffe3665775a5f94bede0be3eb24c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 3 Jun 2023 22:17:31 +0200 Subject: [PATCH] Update install --- scripts/install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index 13b0097..e7701b5 100755 --- a/scripts/install +++ b/scripts/install @@ -114,17 +114,17 @@ ynh_secure_remove --file="$install_dir/build_ldap" pushd "$install_dir/live" ynh_use_nodejs ynh_exec_warn_less $ynh_npm install -g npm@7.24.2 - npm ci + ynh_exec_warn_less npm ci popd pushd "$install_dir/live/services/web" - ynh_exec_warn_less npm run webpack:production - ynh_exec_warn_less npm install -g npm - ynh_exec_warn_less npm install ldap-escape - ynh_exec_warn_less npm install ldapts-search - ynh_exec_warn_less npm install ldapts - ynh_exec_warn_less npm install ldap-escape - ynh_exec_warn_less npm cache clean --force + ynh_exec_warn_less $ynh_npm run webpack:production + ynh_exec_warn_less $ynh_npm install -g npm + ynh_exec_warn_less $ynh_npm install ldap-escape + ynh_exec_warn_less $ynh_npm install ldapts-search + ynh_exec_warn_less $ynh_npm install ldapts + ynh_exec_warn_less $ynh_npm install ldap-escape + ynh_exec_warn_less $ynh_npm cache clean --force ynh_secure_remove --file="$install_dir/live/services/web/node_modules/.cache" popd