From d27cbeb5b37c42cb2b4aa4e2ecf75e1b1c7322a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 24 Jan 2023 17:19:42 +0100 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 86ea5be..226fbf3 100755 --- a/scripts/install +++ b/scripts/install @@ -103,9 +103,9 @@ pushd $final_path #ynh_exec_warn_less npm install -g npm@latest serve #ynh_exec_warn_less npm install #ynh_exec_warn_less npm run build - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g npm@latest serve - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm build + ynh_exec_warn_less $ynh_npm install -g npm@latest serve + ynh_exec_warn_less $ynh_npm install + ynh_exec_warn_less $ynh_npm build popd #=================================================