Skip to content

Commit

Permalink
fix: Arcolinux completely changed releases
Browse files Browse the repository at this point in the history
only 3 editions now and far too messy to support legacy releases
  • Loading branch information
philclifford committed May 15, 2024
1 parent 4547064 commit 25a6f01
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -599,11 +599,13 @@ function releases_archlinux() {

function releases_arcolinux() {
#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() {
echo large small
echo net plasma pro
}

function releases_artixlinux() {
Expand Down Expand Up @@ -1619,9 +1621,11 @@ function get_archlinux() {

function get_arcolinux() {
local HASH=""
local ISO="arcolinux${EDITION:0:1}-${RELEASE}-x86_64.iso"
local URL="https://mirror.accum.se/mirror/arcolinux.info/iso/${RELEASE}"
HASH=$(web_pipe "${URL}/${ISO}.sha1" | cut -d' ' -f1)
local ISO=""
local URL=""
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}"
}

Expand Down

0 comments on commit 25a6f01

Please sign in to comment.