|
|
@ -136,8 +136,6 @@ function list_csv() { |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [ "${OS}" == "gentoo" ]; then |
|
|
|
elif [ "${OS}" == "gentoo" ]; then |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [[ "${OS}" == *"kdeneon"* ]]; then |
|
|
|
|
|
|
|
DOWNLOADER="${DL}" |
|
|
|
|
|
|
|
else |
|
|
|
else |
|
|
|
DOWNLOADER="wget" |
|
|
|
DOWNLOADER="wget" |
|
|
|
fi |
|
|
|
fi |
|
|
@ -942,15 +940,15 @@ function get_kali() { |
|
|
|
|
|
|
|
|
|
|
|
function get_kdeneon() { |
|
|
|
function get_kdeneon() { |
|
|
|
local ISO="" |
|
|
|
local ISO="" |
|
|
|
|
|
|
|
local HASH="" |
|
|
|
local URL="" |
|
|
|
local URL="" |
|
|
|
|
|
|
|
|
|
|
|
validate_release "releases_kdeneon" |
|
|
|
validate_release "releases_kdeneon" |
|
|
|
ISO="neon-${RELEASE}-current.iso" |
|
|
|
URL="https://files.kde.org/neon/images/${RELEASE}/current" |
|
|
|
# Get the URL of the mirror closest to the user's location |
|
|
|
ISO=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-) |
|
|
|
URL=$(wget -q -O- "https://files.kde.org/neon/images/${RELEASE}/current/neon-${RELEASE}-current.iso.zsync.mirrorlist" | \ |
|
|
|
HASH=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1) |
|
|
|
grep "neon-${RELEASE}-current.iso.zsync" | grep '>1.<' | cut -d\" -f 6 | sed 's/https/http/g' | xargs dirname) |
|
|
|
web_get "${URL}/${ISO}" "${VM_PATH}" |
|
|
|
zsync_get "${URL}/${ISO}" "${VM_PATH}" |
|
|
|
check_hash "${ISO}" "${HASH}" |
|
|
|
check_hash "${ISO}" "$(wget -q -O- "https://files.kde.org/neon/images/${RELEASE}/current/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1)" |
|
|
|
|
|
|
|
make_vm_config "${ISO}" |
|
|
|
make_vm_config "${ISO}" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|