mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Refactor get_elementary()
This commit is contained in:
parent
dc5cc54af5
commit
98fe5899d0
1 changed files with 3 additions and 3 deletions
6
quickget
6
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}"
|
||||
|
|
Loading…
Reference in a new issue