fix: always process redirections for zorin .iso images

This commit is contained in:
Martin Wimpress 2024-04-28 13:25:50 +01:00
parent 978d9c997b
commit f034178810
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 3 additions and 2 deletions

View File

@ -1158,7 +1158,7 @@ function releases_zorin() {
}
function editions_zorin() {
echo core64 lite64 education64 edulite64
echo core64 lite64 education64
}
function check_hash() {
@ -2612,7 +2612,8 @@ function get_zorin() {
local HASH=""
local ISO=""
local URL=""
URL="https://zrn.co/${RELEASE}${EDITION}"
# Process the URL redirections; required for Zorin
URL=$(web_redirect "https://zrn.co/${RELEASE}${EDITION}")
echo "${URL} ${HASH}"
}