Refactor get_kdeneon() to add create_vm() compatibility

This commit is contained in:
Martin Wimpress 2022-02-23 10:40:31 +00:00
parent 11aa53d64d
commit facb15b0d2
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 2 additions and 5 deletions

View File

@ -867,14 +867,11 @@ function get_kali() {
function get_kdeneon() {
local HASH=""
local ISO=""
local URL=""
local URL="https://files.kde.org/neon/images/${RELEASE}/current"
URL="https://files.kde.org/neon/images/${RELEASE}/current"
ISO=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-)
HASH=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1)
web_get "${URL}/${ISO}" "${VM_PATH}"
check_hash "${ISO}" "${HASH}"
make_vm_config "${ISO}"
echo "${URL}/${ISO} ${HASH}"
}
function get_kolibrios() {