From a57bcb21239281c4378643cfb450b714ed69b36a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 4 Apr 2022 15:08:59 +0200 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index eaa37bb..53d2138 100644 --- a/scripts/install +++ b/scripts/install @@ -125,9 +125,9 @@ ynh_script_progression --message="Building $app... (this will take some time and pushd "$final_path" 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 sudo -u $app env $ynh_node_load_PATH $ynh_npm install --allow-root + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g bower + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH bower install --allow-root popd #=================================================