From fa5b2fed3b79d3a8422dacf58edaeaf850a41be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 12:31:58 +0200 Subject: [PATCH] Update install --- scripts/install | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 6f24306..56e9c23 100644 --- a/scripts/install +++ b/scripts/install @@ -80,11 +80,10 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - corepack enable - corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm --recursive i --production - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh + + ynh_exec_warn_less ynh_exec_as $appcorepack enable + ynh_exec_warn_less ynh_exec_as $app corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app bin/installDeps.sh popd #=================================================