From ddae16280f1f593707764cec3b0b499e30531915 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 23 Feb 2022 11:06:51 +0000 Subject: [PATCH] Refactor get_zorin() to add create_vm() compatibility --- quickget | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quickget b/quickget index f261740..b18e702 100755 --- a/quickget +++ b/quickget @@ -1184,14 +1184,13 @@ function get_void() { function get_zorin() { local EDITION="${1:-}" + local HASH="" local ISO="" local URL="" # Parse out the iso URL from the redirector URL=$(wget -q -S -O- --max-redirect=0 "https://zrn.co/${RELEASE}${EDITION}" 2>&1 | grep Location | cut -d' ' -f4) - ISO="${URL##*/}" - web_get "${URL}" "${VM_PATH}" - make_vm_config "${ISO}" + echo "${URL} ${HASH}" } function unattended_windows() {