mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Prevent yet another Node and Corepack madness
This commit is contained in:
parent
498b8d9c43
commit
3010066190
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ ynh_use_nodejs() {
|
||||||
ynh_node_load_PATH="PATH=$node_PATH"
|
ynh_node_load_PATH="PATH=$node_PATH"
|
||||||
# Same var but in lower case to be compatible with ynh_replace_vars...
|
# Same var but in lower case to be compatible with ynh_replace_vars...
|
||||||
ynh_node_load_path="PATH=$node_PATH"
|
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
|
# Install a specific version of nodejs
|
||||||
|
|
Loading…
Add table
Reference in a new issue