From 83a730fc74e822b0ba66202b068041f651cb519a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 24 May 2024 08:36:38 +0200 Subject: [PATCH] Update install --- scripts/install | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 5be5342..85a6f2e 100644 --- a/scripts/install +++ b/scripts/install @@ -91,11 +91,9 @@ ynh_script_progression --message="Building $app... (this will take some time and pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less npm install --allow-root - ynh_exec_warn_less npm install -g bower - ynh_exec_warn_less bower install --allow-root - ynh_exec_warn_less bower update --allow-root - ynh_exec_warn_less npm run build + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm ci + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run install:components + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run build popd #=================================================