fix: Arcolinux completely changed releases
only 3 editions now and far too messy to support legacy releases
This commit is contained in:
parent
45470649cb
commit
9cfc4f6ed7
14
quickget
14
quickget
|
@ -599,11 +599,13 @@ function releases_archlinux() {
|
||||||
|
|
||||||
function releases_arcolinux() {
|
function releases_arcolinux() {
|
||||||
#shellcheck disable=SC2046,SC2005
|
#shellcheck disable=SC2046,SC2005
|
||||||
echo $(web_pipe "https://mirror.accum.se/mirror/arcolinux.info/iso/" | grep -o -E "v[[:digit:]]{2}.[[:digit:]]{2}.[[:digit:]]{2}" | sort -ru | head -n 5)
|
# breaking change in v24.05
|
||||||
|
# v24.05.1 is the first release with the new naming scheme and too complex to parse old and new so just show the new
|
||||||
|
echo $(web_pipe "https://mirror.accum.se/mirror/arcolinux.info/iso/" | grep -o -E -e "v24.0[5-9].[[:digit:]]{2}" -e "v24.1[0-2].[[:digit:]]{2}" | sort -ru | head -n 5)
|
||||||
}
|
}
|
||||||
|
|
||||||
function editions_arcolinux() {
|
function editions_arcolinux() {
|
||||||
echo large small
|
echo net plasma pro
|
||||||
}
|
}
|
||||||
|
|
||||||
function releases_artixlinux() {
|
function releases_artixlinux() {
|
||||||
|
@ -1619,9 +1621,11 @@ function get_archlinux() {
|
||||||
|
|
||||||
function get_arcolinux() {
|
function get_arcolinux() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO="arcolinux${EDITION:0:1}-${RELEASE}-x86_64.iso"
|
local ISO=""
|
||||||
local URL="https://mirror.accum.se/mirror/arcolinux.info/iso/${RELEASE}"
|
local URL=""
|
||||||
HASH=$(web_pipe "${URL}/${ISO}.sha1" | cut -d' ' -f1)
|
URL="https://mirror.accum.se/mirror/arcolinux.info/iso/${RELEASE}"
|
||||||
|
ISO="arco${EDITION}-${RELEASE}-x86_64.iso"
|
||||||
|
HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue