From 8050abc6f05a9c2dc9237314e508fcf7b12e109f Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 22 Feb 2022 15:03:20 +0000 Subject: [PATCH] Refactor get_elementary() --- quickget | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/quickget b/quickget index 95295fd..0d9307a 100755 --- a/quickget +++ b/quickget @@ -921,12 +921,9 @@ function get_elementary() { local ISO="" local ISOTAG="20211218-rc" local URL="" - local B66tim="" - B66tim=$(date +%s | base64) ISO="elementaryos-${RELEASE}-stable.${ISOTAG}.iso" - # TODO: derive region from geoIP - URL="https://ams3.dl.elementary.io/download/${B66tim}=/${ISO}" + URL="https://ams3.dl.elementary.io/download/$(date +%s | base64)=/${ISO}" web_get "${URL}" "${VM_PATH}" make_vm_config "${ISO}" }