Skip to content

Commit

Permalink
馃摝 NEW: add Slitaz GNU/Linux support
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Dec 30, 2023
1 parent 7b661f5 commit 810237b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function pretty_name() {
reactos) PRETTY_NAME="ReactOS";;
rebornos) PRETTY_NAME="RebornOS";;
rockylinux) PRETTY_NAME="Rocky Linux";;
slitaz) PRETTY_NAME="SliTaz GNU/Linux";;
tinycore) PRETTY_NAME="Tiny Core Linux";;
truenas-core) PRETTY_NAME="TrueNAS Core";;
truenas-scale) PRETTY_NAME="TrueNAS Scale";;
Expand Down Expand Up @@ -289,6 +290,7 @@ function os_support() {
siduction \
slackware \
slax \
slitaz \
solus \
spiral \
tails \
Expand Down Expand Up @@ -382,6 +384,7 @@ function os_homepage(){
siduction) HOMEPAGE="https://siduction.org/";;
slackware) HOMEPAGE="http://www.slackware.com/";;
slax) HOMEPAGE="https://www.slax.org/";;
slitaz) HOMEPAGE="https://www.slitaz.org/";;
solus) HOMEPAGE="https://getsol.us/";;
spiral) HOMEPAGE="https://spirallinux.github.io/";;
tails) HOMEPAGE="https://tails.net/";;
Expand Down Expand Up @@ -852,6 +855,10 @@ function editions_slax() {
echo debian slackware
}

function releases_slitaz() {
echo preferred core core64 loram core-5in1 preinit
}

function releases_solus() {
echo 4.3
}
Expand Down Expand Up @@ -1259,6 +1266,11 @@ EOF
echo "disk_size=\"2G\"" >> "${CONF_FILE}"
echo "ram=\"128M\"" >> "${CONF_FILE}"
;;
slitaz)
echo "boot=\"legacy\"" >> "${CONF_FILE}"
echo "disk_size=\"4G\"" >> "${CONF_FILE}"
echo "ram=\"512M\"" >> "${CONF_FILE}"
;;
truenas-scale|truenas-core)
echo "boot=\"legacy\"" >> "${CONF_FILE}"
# the rest is non-functional
Expand Down Expand Up @@ -2273,6 +2285,20 @@ function get_slax() {
echo "${URL}/${ISO} ${HASH}"
}

function get_slitaz() {
local HASH=""
local ISO="slitaz-rolling-${RELEASE}"
local URL="http://mirror.slitaz.org/iso/rolling"

case ${RELEASE} in
preferred) ISO="slitaz-rolling";;
*) ISO="slitaz-rolling-${RELEASE}";;
esac

HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut -d' ' -f1)
echo "${URL}/${ISO}.iso ${HASH}"
}

function get_solus() {
local EDITION="${1:-}"
local HASH=""
Expand Down

0 comments on commit 810237b

Please sign in to comment.