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
cd8dc32e82
commit
091309ede0
@ -198,6 +198,7 @@ download_and_verify_checksums() {
|
|||||||
fi
|
fi
|
||||||
## Mitigates: https://github.com/nodejs/node/issues/6821
|
## Mitigates: https://github.com/nodejs/node/issues/6821
|
||||||
local authentic_checksum_file="$tmp_download_dir/authentic_SHASUMS256.txt"
|
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 --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
|
$gnugp_verify_command_name --output "${authentic_checksum_file}" --decrypt "$signed_checksum_file" 2>/dev/null
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user