DistroHopper/actions/gobolinux
2026-04-17 00:19:15 +02:00

20 lines
695 B
Text

# Template file for 'gobolinux'
OSNAME="gobolinux"
PRETTY="GoboLinux"
ICON="gobolinux.svg"
BASEDOF="-"
HOMEPAGE="https://gobolinux.org/"
DESCRIPTION="Experimental Linux distribution that redefines the entire filesystem hierarchy"
CREDENTIALS="-"
function releases_() {
echo $(curl -sL https://gobolinux.org/downloads.html | grep -oP 'href="https://gobolinux\.neonsys\.org/\K[^"]+(?=-iso)' | sed 's|.*/||' | sort -u)
}
function get_() {
local HASH=""
local ISO="GoboLinux-${RELEASE}-x86_64.iso"
local URL="https://gobolinux.neonsys.org/${RELEASE}-iso"
HASH=$(curl -sL https://gobolinux.org/downloads.html | grep -oP 'SHA256: \K[a-f0-9]+')
echo "${URL}/${ISO} ${HASH}"
}