Clean up list_csv()

pull/373/head
Martin Wimpress 3 years ago
parent 28b48c7b8e
commit 7e397ced4e
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 9
      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

Loading…
Cancel
Save