Skip to content

Commit

Permalink
Give user hint if trust might not be bootstrapped yet to ease upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Feb 14, 2017
1 parent 3a741fa commit cea3960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ download_and_verify_checksums() {
fi

if ! $gnugp_verify_command_name --verify "$signed_checksum_file"; then
echo "Authenticity of checksum file can not be assured. Exiting." >&2
echo "Authenticity of checksum file can not be assured. Please be sure to check the README of asdf-nodejs. Exiting." >&2
exit 1
fi
## Mitigates: https://github.com/nodejs/node/issues/6821
Expand Down Expand Up @@ -208,7 +208,7 @@ verify_archive() {
(
cd "${tmp_download_dir}"
if ! sha256sum --check <(grep "\s$archive_file_name$" "${authentic_checksum_file}"); then
echo "Authenticity package archive can not be assured. Exiting." >&2
echo "Authenticity of package archive can not be assured. Exiting." >&2
exit 1
fi
)
Expand Down

0 comments on commit cea3960

Please sign in to comment.