From 31639fe5921c7cd60eea50abe8dd043ab745dfc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 11 Jul 2024 22:24:05 +0200 Subject: [PATCH] fix corepack --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f9bfc38..ddbd4a9 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" env "$ynh_node_load_PATH" corepack enable --install-dir "$install_dir/bin" +ynh_exec_as "$app" env "$ynh_node_load_PATH" corepack enable --install-directory "$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