diff --git a/scripts/install b/scripts/install index 9084aeb..7ebb1b9 100755 --- a/scripts/install +++ b/scripts/install @@ -164,10 +164,10 @@ ynh_config_add_logrotate ### forms. pushd $install_dir - 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 + ynh_hide_warnings ynh_exec_as_app yarn install + ynh_hide_warnings ynh_exec_as_app yarn workspace @chibisafe/backend generate + ynh_hide_warnings ynh_exec_as_app yarn workspace @chibisafe/backend migrate + ynh_hide_warnings ynh_exec_as_app yarn build popd # Installation with curl