From 582dd448fa14277e073e8884ecdc1a098205c5ca Mon Sep 17 00:00:00 2001 From: Phil Clifford Date: Sun, 24 Jul 2022 01:07:33 +0100 Subject: [PATCH] add support for EndeavourOS (#449) --- quickget | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/quickget b/quickget index 7590125..1cfb4d6 100755 --- a/quickget +++ b/quickget @@ -38,6 +38,7 @@ function pretty_name() { cachyos) PRETTY_NAME="CachyOS";; dragonflybsd) PRETTY_NAME="DragonFlyBSD";; elementary) PRETTY_NAME="elementary OS";; + endeavouros) PRETTY_NAME="EndeavourOS";; freebsd) PRETTY_NAME="FreeBSD";; freedos) PRETTY_NAME="FreeDOS";; garuda) PRETTY_NAME="Garuda Linux";; @@ -166,6 +167,7 @@ function os_support() { devuan \ dragonflybsd \ elementary \ + endeavouros \ fedora \ freebsd \ freedos \ @@ -261,6 +263,12 @@ function releases_elementary() { echo 6.1 } +function releases_endeavouros() { + echo apollo_22_1 \ + atlantis-21_4 \ + atlantis_neo-21_5 +} + function releases_fedora() { echo 33 34 35 } @@ -887,6 +895,16 @@ function get_elementary() { echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}" } +function get_endeavouros() { + local HASH="" + # Endeavour release names are Capitalized and our $RELEASE is forced to lowercase so we have to revert it + local ISO="EndeavourOS_${RELEASE@u}.iso" + local URL="https://github.com/endeavouros-team/ISO/releases/download/1-EndeavourOS-ISO-releases-archive" + + HASH=$(wget -q -O- "${URL}/${ISO}.sha512sum" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} + function get_fedora() { local EDITION="${1:-}" local HASH=""