From 2963637e665048ee6b484df1d55f2f820f1e5e24 Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 15 Nov 2024 12:24:14 -0500 Subject: [PATCH] Update scripts/install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index ca24b3b..8cc74e1 100755 --- a/scripts/install +++ b/scripts/install @@ -165,10 +165,10 @@ ynh_config_add_logrotate pushd $install_dir ynh_use_nodejs - ynh_exec sudo -u $app env $ynh_node_load_PATH yarn install - ynh_exec sudo -u $app env $ynh_node_load_PATH workspace @chibisafe/backend generate - ynh_exec sudo -u $app env $ynh_node_load_PATH workspace @chibisafe/backend migrate - ynh_exec sudo -u $app env $ynh_node_load_PATH yarn build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend generate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend migrate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build popd # Installation with curl