mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge 0ce4361944
into 36ce8f0010
This commit is contained in:
commit
e6414de760
4
nvm.sh
4
nvm.sh
@ -117,6 +117,9 @@ nvm_checksum()
|
||||
{
|
||||
if [ "$1" = "$2" ]; then
|
||||
return
|
||||
elif [[ "$arch" == 'arm-pi' && "$binavail" == 1 ]]; then
|
||||
echo 'Checksums matching failed but this failure will be ignored because no shasum is available for node for arm-pi'
|
||||
return
|
||||
else
|
||||
echo 'Checksums do not match.'
|
||||
return 1
|
||||
@ -158,6 +161,7 @@ nvm()
|
||||
case "$uname" in
|
||||
*x86_64*) arch=x64 ;;
|
||||
*i*86*) arch=x86 ;;
|
||||
*armv6l*) arch=arm-pi;;
|
||||
esac
|
||||
|
||||
# initialize local variables
|
||||
|
Loading…
Reference in New Issue
Block a user