mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
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
|
if [ "$1" = "$2" ]; then
|
||||||
return
|
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
|
else
|
||||||
echo 'Checksums do not match.'
|
echo 'Checksums do not match.'
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user