From 9dbc9d2ee809bd095c8efd0a098b1693842addd1 Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 19 Oct 2023 12:38:43 +0200 Subject: [PATCH] Add Slax --- quickget | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index cb2f20e272..5f1ec41b58 100755 --- a/quickget +++ b/quickget @@ -68,6 +68,8 @@ function pretty_name() { reactos) PRETTY_NAME="ReactOS";; rebornos) PRETTY_NAME="RebornOS";; rockylinux) PRETTY_NAME="Rocky Linux";; + slax-debian) PRETTY_NAME="Slax Debian";; + slax-slackware) PRETTY_NAME="Slax Slackware";; tinycore) PRETTY_NAME="Tiny Core Linux";; truenas-core) PRETTY_NAME="TrueNAS Core";; truenas-scale) PRETTY_NAME="TrueNAS Scale";; @@ -234,6 +236,8 @@ function os_support() { rockylinux \ siduction \ slackware \ + slax-debian \ + slax-slackware \ solus \ spiral \ tails \ @@ -626,6 +630,14 @@ function releases_slackware() { echo 14.2 15.0 } +function releases_slax-debian() { + echo 11.2.0 11.2.1 11.3.0 11.4.0 11.6.0 12.1.0 +} + +function releases_slax-slackware() { + echo 15.0.0 15.0.1 15.0.2 +} + function releases_solus() { echo 4.3 } @@ -650,7 +662,8 @@ function releases_tinycore() { echo 14.0 } -function editions_tinycore() { echo Core TinyCore CorePlus CorePure64 TinyCorePure64 +function editions_tinycore() { + echo Core TinyCore CorePlus CorePure64 TinyCorePure64 } function releases_trisquel() { @@ -973,7 +986,7 @@ EOF echo "disk_size=\"32G\"" >> "${CONF_FILE}";; batocera) echo "disk_size=\"8G\"" >> "${CONF_FILE}";; - dragonflybsd|haiku|openbsd|netbsd|slackware|tails|tinycore) + dragonflybsd|haiku|openbsd|netbsd|slackware|slax-debian|slax-slackware|tails|tinycore) echo "boot=\"legacy\"" >> "${CONF_FILE}";; deepin) echo "disk_size=\"64G\"" >> "${CONF_FILE}" @@ -1860,6 +1873,28 @@ function get_slackware() { echo "${URL}/${ISO} ${HASH}" } +function get_slax-debian() { + local HASH="" + local ISO="" + local URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-11.x" + + ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | grep "${RELEASE}") + HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | grep "${RELEASE}" | cut -d' ' -f1) + + echo "${URL}/${ISO} ${HASH}" +} + +function get_slax-slackware() { + local HASH="" + local ISO="" + local URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-15.x" + + ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | grep "${RELEASE}") + HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | grep "${RELEASE}" | cut -d' ' -f1) + + echo "${URL}/${ISO} ${HASH}" +} + function get_solus() { local EDITION="${1:-}" local HASH=""