# 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="-" HOMEPAGE="https://os.gnome.org" DESCRIPTION="Alpha nightly bleeding edge distro of GNOME" CREDENTIALS="-" GPG="" RSS="" DW="" function 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) } function 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}" }