From 2322b64ab2874918fefc80ab185aa1ac9ee81d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 11 Jul 2024 22:23:12 +0200 Subject: [PATCH] fix corepack --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 2331c28..f9bfc38 100755 --- a/scripts/install +++ b/scripts/install @@ -40,7 +40,7 @@ chown -R "$app:www-data" "$install_dir" #================================================= ynh_use_nodejs -ynh_exec_as "$app" corepack enable --install-dir "$install_dir/bin" +ynh_exec_as "$app" env "$ynh_node_load_PATH" corepack enable --install-dir "$install_dir/bin" pushd "$install_dir/sources" ynh_exec_warn_less ynh_exec_as "$app" env COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$ynh_node_load_PATH" "$install_dir/bin/yarn" cache clean