From 98fe5899d0c65ce819801ca6b8ae6109b5252052 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 21 Feb 2022 01:55:01 +0000 Subject: [PATCH] Refactor get_elementary() --- quickget | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickget b/quickget index 0c55dda..15a6382 100755 --- a/quickget +++ b/quickget @@ -866,13 +866,13 @@ function get_debian() { function get_elementary() { local ISO="" + local ISOTAG="20211218-rc" local URL="" local B66tim="" - local isotag="20211218-rc" validate_release "releases_elementary" - B66tim=$(date +%s | base64 ) - ISO="elementaryos-${RELEASE}-stable.${isotag}.iso" + B66tim=$(date +%s | base64) + ISO="elementaryos-${RELEASE}-stable.${ISOTAG}.iso" # TODO: derive region from geoIP URL="https://ams3.dl.elementary.io/download/${B66tim}=/${ISO}" web_get "${URL}" "${VM_PATH}"