diff --git a/quickget b/quickget index b466430..022f4c4 100755 --- a/quickget +++ b/quickget @@ -71,6 +71,7 @@ function pretty_name() { archcraft) PRETTY_NAME="Archcraft";; arcolinux) PRETTY_NAME="Arco Linux";; artixlinux) PRETTY_NAME="Artix Linux";; + atheanos) PRETTY_NAME="Athena OS";; biglinux) PRETTY_NAME="BigLinux";; blendos) PRETTY_NAME="BlendOS";; cachyos) PRETTY_NAME="CachyOS";; @@ -223,6 +224,7 @@ function os_support() { archcraft \ arcolinux \ artixlinux \ + athenaos \ batocera \ biglinux \ blendos \ @@ -313,6 +315,7 @@ function os_homepages(){ archcraft) HOMEPAGE="https://archcraft.io/";; arcolinux) HOMEPAGE="https://arcolinux.com/";; artixlinux) HOMEPAGE="https://artixlinux.org/";; + athenaos) HOMEPAGE="https://athenaos.org/";; batocera) HOMEPAGE="https://batocera.org/";; blendos) HOMEPAGE="https://blendos.co/";; bodhi) HOMEPAGE="https://www.bodhilinux.com/";; @@ -474,22 +477,23 @@ function editions_artixlinux() { community-qt-openrc } +function releases_athenaos() { + wget -q -O- 'https://sourceforge.net/projects/athena-iso/rss?path=/' | grep '.iso/download"' | cut -d'=' -f5 | cut -d'"' -f2 | cut -d'/' -f7 | cut -d'v' -f2 | sed ':a;N;$!ba;s/\n/ /g' +} + function releases_biglinux() { echo kde } function releases_blendos() { - -# Pull the rss feed -wget -q https://sourceforge.net/projects/blendos/rss?path=/ISOs/ -O- | grep -E -o 'https://.*blendOS\.iso.*/tmp/blendos-isos.rss + # Pull the rss feed + wget -q https://sourceforge.net/projects/blendos/rss?path=/ISOs/ -O- | grep -E -o 'https://.*blendOS\.iso.*/tmp/blendos-isos.rss local RLIST RLIST=$(grep -E -o 'https://.*blendOS\.iso.*> "${CONF_FILE}";; openindiana) echo "boot=\"legacy\"" >> "${CONF_FILE}" @@ -1391,6 +1395,25 @@ function get_artixlinux() { echo "${URL}/${ISO} ${HASH}" } +function get_athenaos() { + local HASH="" + local URL="" + local ISO="" + case ${RELEASE} in + rolling) + ISO="athena-rolling-x86_64.iso" + URL="https://sourceforge.net/projects/athena-iso/files/rolling" + HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut -d' ' -f1) + ;; + *) + ISO="athena-20${RELEASE}-x86_64.iso" + URL="https://sourceforge.net/projects/athena-iso/files/v${RELEASE}" + HASH=$(wget -q -O- 'https://sourceforge.net/projects/athena-iso/rss?path=/' | grep '.iso/download"' | grep "${RELEASE}" | cut -d '=' -f7 | cut -d'>' -f2 | cut -d'<' -f1) + ;; + esac + echo "${URL}/${ISO} ${HASH}" +} + function get_bunsenlabs() { local HASH="" local ISO="beryllium-1-amd64.hybrid.iso"