Skip to content

Commit

Permalink
fix corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Jul 12, 2024
1 parent 2322b64 commit 31639fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31639fe

Please sign in to comment.