fix: make hash checking work in get_archlinux()

This commit is contained in:
Martin Wimpress 2024-04-21 09:53:19 +01:00 committed by Martin Wimpress
parent 0cd462408a
commit eb78e7780e

View File

@ -1808,8 +1808,8 @@ function get_archlinux() {
local ISO=""
local URL="https://mirror.rackspace.com/archlinux"
ISO=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].iso_url')
HASH=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha1_sum')
echo "${URL}/${ISO} ${HASH}"
HASH=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha256_sum')
echo "${URL}${ISO} ${HASH}"
}
function get_archcraft() {