mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
22 lines
693 B
Text
22 lines
693 B
Text
INFO="Chimera Linux|Independent|anon:chimera root:chimera|https://chimera-linux.org/|Modern, general-purpose non-GNU Linux distribution.";;
|
|
|
|
function releases_chimeralinux() {
|
|
echo latest
|
|
}
|
|
|
|
function editions_chimeralinux() {
|
|
echo base gnome
|
|
}
|
|
|
|
function get_chimeralinux() {
|
|
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_1)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|