From 1310daeeaaba8dfc568acc34256de18edbe76277 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 23 Feb 2022 10:56:59 +0000 Subject: [PATCH] Refactor get_popos() to add create_vm() compatibility --- quickget | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/quickget b/quickget index ac8a7a3..8ee11a4 100755 --- a/quickget +++ b/quickget @@ -1065,13 +1065,9 @@ function get_popos() { local HASH="" local ISO="" local URL="" - URL=$(wget -q -O- "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .url) - ISO="${URL##*/}" HASH=$(wget -q -O- "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .sha_sum) - web_get "${URL}" "${VM_PATH}" - check_hash "${ISO}" "${HASH}" - make_vm_config "${ISO}" + echo "${URL} ${HASH}" } function get_regolith() {