Merge pull request #1842 from YunoHost/corepaaaaaack

Prevent yet another Node and Corepack madness
This commit is contained in:
Alexandre Aubin 2024-05-17 21:47:09 +02:00 committed by GitHub
commit c459ddabbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,6 +74,8 @@ ynh_use_nodejs() {
ynh_node_load_PATH="PATH=$node_PATH"
# Same var but in lower case to be compatible with ynh_replace_vars...
ynh_node_load_path="PATH=$node_PATH"
# Prevent yet another Node and Corepack madness, with Corepack wanting the user to confirm download of Yarn
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
}
# Install a specific version of nodejs