fix: use zsync for Ubuntu daily images

This commit is contained in:
Martin Wimpress 2024-04-17 03:47:30 +01:00 committed by Martin Wimpress
parent 67ddb91915
commit 6b74ef78d7
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ function list_csv() {
SVG="https://quickemu-project.github.io/quickemu-icons/svg/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg" SVG="https://quickemu-project.github.io/quickemu-icons/svg/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg"
for RELEASE in $("releases_${FUNC}" | sed -Ee 's/eol-\S+//g' ); do # hide eol releases for RELEASE in $("releases_${FUNC}" | sed -Ee 's/eol-\S+//g' ); do # hide eol releases
if [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ] && [ ${HAS_ZSYNC} -eq 1 ]; then if [[ "${OS}" == *"ubuntu"* ]] && [[ ${RELEASE} == *"daily"* ]] && [ ${HAS_ZSYNC} -eq 1 ]; then
DOWNLOADER="zsync" DOWNLOADER="zsync"
else else
DOWNLOADER="${DL}" DOWNLOADER="${DL}"