mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
[New] Set nobinary=1 for Alpine Linux before nodejs provides it
This commit is contained in:
parent
423f420884
commit
f25860861c
4
nvm.sh
4
nvm.sh
@ -2434,8 +2434,8 @@ nvm() {
|
|||||||
NVM_INSTALL_SUCCESS=true
|
NVM_INSTALL_SUCCESS=true
|
||||||
else
|
else
|
||||||
|
|
||||||
if [ "_$NVM_OS" = "_freebsd" ]; then
|
if [ "_$NVM_OS" = "_freebsd" ] || [ "_$NVM_OS" = "_alpine_linux" ]; then
|
||||||
# node.js and io.js do not have a FreeBSD binary
|
# node.js and io.js do not have a FreeBSD / Alpine linux binary
|
||||||
nobinary=1
|
nobinary=1
|
||||||
nvm_err "Currently, there is no binary for $NVM_OS"
|
nvm_err "Currently, there is no binary for $NVM_OS"
|
||||||
elif [ "_$NVM_OS" = "_sunos" ]; then
|
elif [ "_$NVM_OS" = "_sunos" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user