Skip to content

Commit

Permalink
Add Chimera Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Oct 2, 2023
1 parent c7e91a0 commit 1b2feb0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function pretty_name() {
blendos) PRETTY_NAME="BlendOS";;
cachyos) PRETTY_NAME="CachyOS";;
centos-stream) PRETTY_NAME="CentOS Stream";;
chimera) PRETTY_NAME="Chimera Linux";;
dragonflybsd) PRETTY_NAME="DragonFlyBSD";;
elementary) PRETTY_NAME="elementary OS";;
endeavouros) PRETTY_NAME="EndeavourOS";;
Expand Down Expand Up @@ -186,6 +187,7 @@ function os_support() {
blendos \
cachyos \
centos-stream \
chimera \
debian \
deepin \
devuan \
Expand Down Expand Up @@ -309,6 +311,14 @@ function editions_centos-stream() {
echo dvd1 boot
}

function releases_chimera() {
echo latest
}

function editions_chimera() {
echo base gnome
}

function releases_debian() {
DEBCURRENT=$(wget -q https://cdimage.debian.org/debian-cd/ -O- |grep '\.[0-9]/'|cut -d\> -f9|cut -d\/ -f1)
local DEBOLD=$(wget -q https://cdimage.debian.org/cdimage/archive/ -O- |grep -e '>[1-9][0-9]\.'|grep -v 'live' | cut -d\> -f9|cut -d\/ -f1 )
Expand Down Expand Up @@ -1130,6 +1140,19 @@ function get_centos-stream() {
echo "${URL}/${ISO} ${HASH}"
}

function get_chimera() {
local EDITION="${1:-}"
local HASH=""
local DATE=""
local ISO=""
local URL="https://repo.chimera-linux.org/live/${RELEASE}"

DATE=$(wget -q -O- "${URL}/sha256sums.txt" | head -n1 | cut -d'-' -f5)
ISO="chimera-linux-x86_64-LIVE-${DATE}-${EDITION}.iso"
HASH=$(wget -q -O- "${URL}/sha256sums.txt" | grep 'x86_64-LIVE' | grep "${EDITION}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}

function get_debian() {
local EDITION="${1:-}"
local HASH=""
Expand Down

0 comments on commit 1b2feb0

Please sign in to comment.