From c31fa21cb994e0924cedac685aab5d47cd4a5747 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 23 Feb 2022 10:20:09 +0000 Subject: [PATCH] Refactor get_arcolinux() to add create_vm() compatibility --- quickget | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/quickget b/quickget index a8aab96..b7cd957 100755 --- a/quickget +++ b/quickget @@ -730,15 +730,10 @@ function get_archlinux() { function get_arcolinux() { local EDITION="${1:-}" local HASH="" - local ISO="" - local URL="" - - URL="https://ant.seedhost.eu/arcolinux/iso/${RELEASE}" - ISO="arcolinux${EDITION:0:1}-${RELEASE}-x86_64.iso" - HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | cut -d' ' -f 1) - web_get "${URL}/${ISO}" "${VM_PATH}" - check_hash "${ISO}" "${HASH}" - make_vm_config "${ISO}" + local ISO="arcolinux${EDITION:0:1}-${RELEASE}-x86_64.iso" + local URL="https://ant.seedhost.eu/arcolinux/iso/${RELEASE}" + HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" } function get_cachyos() {