diff --git a/scripts/install b/scripts/install index d713b45..9084aeb 100755 --- a/scripts/install +++ b/scripts/install @@ -164,11 +164,10 @@ ynh_config_add_logrotate ### forms. pushd $install_dir - ynh_use_nodejs - ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH yarn install - ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend generate - ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH workspace @chibisafe/backend migrate - ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH yarn build + ynh_hide_warnings ynh_exec_as env $ynh_node_load_PATH yarn install + ynh_hide_warnings ynh_exec_as env $ynh_node_load_PATH workspace @chibisafe/backend generate + ynh_hide_warnings ynh_exec_as env $ynh_node_load_PATH workspace @chibisafe/backend migrate + ynh_hide_warnings ynh_exec_as env $ynh_node_load_PATH yarn build popd # Installation with curl