Fix bootstrap integrity checking

This commit is contained in:
Kron4ek 2022-07-05 14:00:56 +05:00 committed by GitHub
parent 576f16fcf6
commit f34b9c387e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,7 +165,7 @@ for link in ${bootstrap_urls}; do
"https://${link}/archlinux/iso/${current_release}/sha256sums.txt"
if [ -s sha256sums.txt ]; then
cat sha256sums.txt | grep bootstrap > sha256.txt
cat sha256sums.txt | grep bootstrap-${current_release} > sha256.txt
echo "Verifying the integrity of the bootstrap"
if sha256sum -c sha256.txt &>/dev/null; then