From 7e397ced4ea173cf0239e29a03cfd4a8d6fa6962 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 21 Feb 2022 05:02:21 +0000 Subject: [PATCH] Clean up list_csv() --- quickget | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/quickget b/quickget index 8726ed4..df190be 100755 --- a/quickget +++ b/quickget @@ -104,7 +104,7 @@ function list_csv() { # check if we have a zsync installed somewhere ZS="$(which zsync)" - if [ -x "${ZS}" ]; then + if [ -x "${ZS}" ]; then DL="zsync" else DL="wget" @@ -122,7 +122,6 @@ function list_csv() { PNG="https://quickemu-project.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.png" SVG="https://quickemu-project.github.io/quickemu-icons/svg/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg" - for RELEASE in $("releases_${FUNC}"); do if [ "${OS}" == "macos" ]; then DOWNLOADER="macrecovery" @@ -130,12 +129,6 @@ function list_csv() { DOWNLOADER="${DL}" elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ]; then DOWNLOADER="${DL}" - elif [ "${OS}" == "cachyos" ]; then - DOWNLOADER="${DL}" - elif [ "${OS}" == "garuda" ]; then - DOWNLOADER="${DL}" - elif [ "${OS}" == "gentoo" ]; then - DOWNLOADER="${DL}" else DOWNLOADER="wget" fi