mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +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
|
if [ "$1" = "$2" ]; then
|
||||||
return
|
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
|
else
|
||||||
echo 'Checksums do not match.'
|
echo 'Checksums do not match.'
|
||||||
return 1
|
return 1
|
||||||
@ -158,6 +161,7 @@ nvm()
|
|||||||
case "$uname" in
|
case "$uname" in
|
||||||
*x86_64*) arch=x64 ;;
|
*x86_64*) arch=x64 ;;
|
||||||
*i*86*) arch=x86 ;;
|
*i*86*) arch=x86 ;;
|
||||||
|
*armv6l*) arch=arm-pi;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# initialize local variables
|
# initialize local variables
|
||||||
|
Loading…
Reference in New Issue
Block a user