From facb15b0d2aac7cb8f36c861f1e75ae762b9308d Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 23 Feb 2022 10:40:31 +0000 Subject: [PATCH] Refactor get_kdeneon() to add create_vm() compatibility --- quickget | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/quickget b/quickget index 998df54..eedcaf1 100755 --- a/quickget +++ b/quickget @@ -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() {