Ports: Change Python's auth_type to sha256

This commit is contained in:
Linus Groh 2021-08-03 20:22:06 +01:00
commit a613e00caa
Notes: sideshowbarker 2024-07-18 07:31:14 +09:00
3 changed files with 6 additions and 9 deletions

View file

@ -23,8 +23,8 @@ pushd "${TARBALLS_DIR}"
echo "${PYTHON_ARCHIVE} already exists, not downloading archive"
fi
if ! md5sum --status -c <(echo "${PYTHON_ARCHIVE_MD5SUM}" "${PYTHON_ARCHIVE}"); then
echo "Python archive MD5 sum mismatch, please run script again"
if ! sha256sum --status -c <(echo "${PYTHON_ARCHIVE_SHA256SUM}" "${PYTHON_ARCHIVE}"); then
echo "Python archive SHA256 sum mismatch, please run script again"
rm -f "${PYTHON_ARCHIVE}"
exit 1
fi