add support for EndeavourOS (#449)

pull/515/head
Phil Clifford 2 years ago committed by GitHub
parent ace75eee9d
commit 582dd448fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      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=""

Loading…
Cancel
Save