mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Clean up list_csv()
This commit is contained in:
parent
28b48c7b8e
commit
7e397ced4e
1 changed files with 1 additions and 8 deletions
9
quickget
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…
Reference in a new issue