Add elementary 7.0

Hopefully I did this right. I tested locally, and it appears to download the 7.0 ISO correctly.
This commit is contained in:
Alan Pope 2023-01-31 17:21:36 +00:00 committed by Martin Wimpress
parent 809ad68fd8
commit 75c80d89fd
1 changed files with 9 additions and 2 deletions

View File

@ -296,7 +296,7 @@ function releases_dragonflybsd() {
}
function releases_elementary() {
echo 6.1
echo 6.1 7.0
}
function releases_endeavouros() {
@ -1067,7 +1067,14 @@ function get_dragonflybsd() {
function get_elementary() {
local HASH=""
local ISO="elementaryos-${RELEASE}-stable.20211218-rc.iso"
case ${RELEASE} in
6.2)
local ISO="elementaryos-${RELEASE}-stable.20211218-rc.iso"
;;
7.0)
local ISO="elementaryos-${RELEASE}-stable.20230129rc.iso"
;;
esac
local URL="https://ams3.dl.elementary.io/download"
echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}"
}