mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Template file for 'gnomeos'
|
|
OSNAME="gnomeos"
|
|
PRETTY="GNOME OS"
|
|
LOGO=" "
|
|
ICON="gnomeos.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/gnomeos.png"
|
|
CATEGORY="advanced"
|
|
BASEDOF="-"
|
|
DESCRIPTION="Alpha nightly bleeding edge distro of GNOME"
|
|
HOMEPAGE="https://os.gnome.org"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
|
|
RELEASES="50.0 49.0 48.0 47.0 46.0 44.0 43.0 42.0 41.0 40.0 nightly"
|
|
QEMU_ARCH="amd64"
|
|
|
|
releases_() {
|
|
#shellcheck disable=SC2046,SC2005
|
|
echo nightly $(web_pipe "https://download.gnome.org/gnomeos/" | grep "title=" | awk -F'"' '{print $4}' | tr -d '/' | grep -E '^[0-9]+\.[0-9]+$' | sort -nr)
|
|
}
|
|
|
|
get_() {
|
|
local HASH=""
|
|
local ISO="gnome_os_installer_${RELEASE}.iso"
|
|
local URL="https://download.gnome.org/gnomeos/${RELEASE}"
|
|
case ${RELEASE} in
|
|
nightly)
|
|
ISO="gnome_os_installer.iso"
|
|
URL="https://os.gnome.org/download/latest";;
|
|
46.0) ISO="gnome_os_installer_46.iso";;
|
|
3*) ISO="gnome_os_installer.iso";;
|
|
48.alpha) ISO=$(web_pipe "https://download.gnome.org/gnomeos/48.alpha/" | grep '.iso' | cut -d'"' -f4);;
|
|
esac
|
|
# Process the URL redirections; required for GNOME
|
|
ISO=$(web_redirect "${URL}/${ISO}")
|
|
echo "${ISO} ${HASH}"
|
|
}
|