mirror of
https://github.com/asdf-vm/asdf-nodejs.git
synced 2024-10-06 07:42:08 +08:00
fix(bin): close #165
This file may already exist. It's unclear why this happens though.
This commit is contained in:
parent
3bff0719af
commit
2abce68edc
@ -200,6 +200,7 @@ download_and_verify_checksums() {
|
||||
fi
|
||||
## Mitigates: https://github.com/nodejs/node/issues/6821
|
||||
local authentic_checksum_file="$tmp_download_dir/authentic_SHASUMS256.txt"
|
||||
rm -f $authentic_checksum_file
|
||||
$gnugp_verify_command_name --no-default-keyring --keyring "${ASDF_NODEJS_KEYRING}" --output "${authentic_checksum_file}" --decrypt "$signed_checksum_file" 2>/dev/null ||
|
||||
$gnugp_verify_command_name --output "${authentic_checksum_file}" --decrypt "$signed_checksum_file" 2>/dev/null
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user