Skip to content

Commit

Permalink
Add Slax
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Oct 19, 2023
1 parent 265be79 commit 9dbc9d2
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -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";;
Expand Down Expand Up @@ -234,6 +236,8 @@ function os_support() {
rockylinux \
siduction \
slackware \
slax-debian \
slax-slackware \
solus \
spiral \
tails \
Expand Down Expand Up @@ -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
}
Expand All @@ -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() {
Expand Down Expand Up @@ -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}"
Expand Down Expand Up @@ -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=""
Expand Down

0 comments on commit 9dbc9d2

Please sign in to comment.