fix: Allow non-v24 arcolinux releases (#1575)

This commit is contained in:
Liam 2025-02-01 08:37:21 -06:00 committed by GitHub
parent ae94ac7c16
commit 70b531c463
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -545,9 +545,7 @@ function releases_archlinux() {
function releases_arcolinux() {
#shellcheck disable=SC2046,SC2005
# 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)
echo $(web_pipe "https://mirror.accum.se/mirror/arcolinux.info/iso/" | grep -o -E -e "v[[:digit:]]{2}.[[:digit:]]{2}.[[:digit:]]{2}" | sort -ru | head -n 5)
}
function editions_arcolinux() {