diff --git a/quickget b/quickget index 7420fe6..fbd85c9 100755 --- a/quickget +++ b/quickget @@ -822,7 +822,11 @@ function releases_bazzite() { } function releases_biglinux() { - echo $(web_pipe "https://iso.biglinux.com.br/" | grep biglinux | grep iso | cut -d'_' -f2 | uniq | sort -r) + echo $(web_pipe "https://iso.biglinux.com.br" | grep -Eo 'biglinux_[0-9]{4}(-[0-9]{2}){2}_k[0-9]{2,3}.iso' | cut -d'_' -f2 | sort -ru) +} + +function editions_biglinux() { + echo $(web_pipe "https://iso.biglinux.com.br" | grep -Eo 'biglinux_[0-9]{4}(-[0-9]{2}){2}_k[0-9]{2,3}.iso' | cut -d'_' -f3 | cut -d'.' -f1 | sort -ru) } function releases_blendos() { @@ -1850,9 +1854,8 @@ function get_athenaos() { function get_biglinux() { local HASH="" - local ISO="" + local ISO="biglinux_${RELEASE}_${EDITION}.iso" local URL="https://iso.biglinux.com.br" - ISO=$(grep -Eo 'biglinux_[0-9]{4}(-[0-9]{2}){2}_k[0-9]{2,3}.iso' <(web_pipe "${URL}") | sort -u | tail -n2 | head -n1) HASH=$(web_pipe "${URL}/${ISO}.md5" | grep -Eo '[[:alnum:]]{32}') echo "${URL}/${ISO} ${HASH}" }