Ignore the checksum failure because the shasums are not available in SHASUMS.txt
This commit is contained in:
parent
122777f886
commit
273f52adc2
3
nvm.sh
3
nvm.sh
|
|
@ -116,6 +116,9 @@ nvm_checksum()
|
|||
{
|
||||
if [ "$1" = "$2" ]; then
|
||||
return
|
||||
elif [[ "$VERSION" =~ ^v0\.10\.[0-5]$ && "$arch" == 'arm-pi' && "$binavail" == 1 ]]; then
|
||||
echo 'Checksums matching failed but this failure will be ignored because no shasum is available for node v0.10.[0-5] for arm-pi'
|
||||
return
|
||||
else
|
||||
echo 'Checksums do not match.'
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue