On aarch64 use arm64 packages

ra100 2016-05-27 00:19:48 +02:00 committed by Ra100
parent 03cf6950ce
commit b6481583af
1 changed files with 1 additions and 0 deletions

1
nvm.sh
View File

@ -1145,6 +1145,7 @@ nvm_get_arch() {
case "$HOST_ARCH" in case "$HOST_ARCH" in
x86_64 | amd64) NVM_ARCH="x64" ;; x86_64 | amd64) NVM_ARCH="x64" ;;
i*86) NVM_ARCH="x86" ;; i*86) NVM_ARCH="x86" ;;
aarch64) NVM_ARCH="arm64" ;;
*) NVM_ARCH="$HOST_ARCH" ;; *) NVM_ARCH="$HOST_ARCH" ;;
esac esac
nvm_echo "${NVM_ARCH}" nvm_echo "${NVM_ARCH}"