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