mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-16 10:43:42 +00:00
Compare commits
3 Commits
91bbb079ef
...
f596b8f987
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f596b8f987 | ||
![]() |
762f9ef9d1 | ||
![]() |
477353e1a4 |
@ -32,7 +32,7 @@ before_install:
|
||||
- zsh --version
|
||||
- dpkg -s dash | grep ^Version | awk '{print $2}'
|
||||
# install python
|
||||
- pyenv install 2.7.18
|
||||
- pyenv local 2.7.18 || pyenv install 2.7.18
|
||||
- pyenv local 2.7.18 || echo 'pyenv failed'
|
||||
- python -V
|
||||
install:
|
||||
|
5
nvm.sh
5
nvm.sh
@ -2010,6 +2010,11 @@ nvm_get_arch() {
|
||||
local EXIT_CODE
|
||||
local LONG_BIT
|
||||
|
||||
if [ -n "$NVM_NODEJS_ORG_ARCH" ]; then
|
||||
nvm_echo "${NVM_NODEJS_ORG_ARCH}"
|
||||
return
|
||||
fi
|
||||
|
||||
NVM_OS="$(nvm_get_os)"
|
||||
# If the OS is SunOS, first try to use pkgsrc to guess
|
||||
# the most appropriate arch. If it's not available, use
|
||||
|
Loading…
x
Reference in New Issue
Block a user