# Template file for 'grml' OSNAME="grml" PRETTY="GRML" LOGO="" ICON="grml.png" ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/grml.png" CATEGORY="Rescue" BASEDOF="Debian" DESCRIPTION="Bootable live system for system administrators, rescue and deployment" HOMEPAGE="https://grml.org/" CREDENTIALS="root:linux" GPG="" RSS="" DW="" function releases_() { echo $(web_pipe "https://download.grml.org/" | grep -oE 'grml-20[0-9]{2}\.[0-9]{2}-' | sed 's/grml-//; s/-//' | sort -uVr | head -n 5) testing unstable } function editions_() { echo small full } function arch_() { echo amd64 arm64 } function get_() { local HASH="" local SUMS="" local QEMU_ARCH QEMU_ARCH=$(_qarch_to_upstream "${ARCH:-amd64}") if [ "$RELEASE" = unstable ] || [ "$RELEASE" = testing ]; then local URL="https://daily.grml.org/grml-${EDITION}-${ARCH:-amd64}-${RELEASE}/latest" local ISO="grml-${EDITION}-${ARCH:-amd64}-${RELEASE}_latest.iso" else local URL="https://download.grml.org" local ISO="grml-${EDITION}-${RELEASE}-${ARCH:-amd64}.iso" fi SUMS=$(web_pipe "https://download.grml.org/SHA256SUMS-${RELEASE}") SIGNATURE="${ISO}.asc" SIGN_KEY=$(web_pipe "${URL}/download/gnupg-michael-prokop.txt") HASH=$(echo "${SUMS}" | grep "${ISO}" | awk '{print $1}') echo "${URL}/${ISO} ${HASH}" }