📦 Slax
This commit is contained in:
parent
d5dc137016
commit
efd8913de1
30
quickget
30
quickget
|
@ -289,6 +289,7 @@ function os_support() {
|
||||||
rockylinux \
|
rockylinux \
|
||||||
siduction \
|
siduction \
|
||||||
slackware \
|
slackware \
|
||||||
|
slax \
|
||||||
solus \
|
solus \
|
||||||
spiral \
|
spiral \
|
||||||
tails \
|
tails \
|
||||||
|
@ -387,6 +388,7 @@ function os_homepages(){
|
||||||
rockylinux) HOMEPAGE="https://rockylinux.org/";;
|
rockylinux) HOMEPAGE="https://rockylinux.org/";;
|
||||||
siduction) HOMEPAGE="https://siduction.org/";;
|
siduction) HOMEPAGE="https://siduction.org/";;
|
||||||
slackware) HOMEPAGE="http://www.slackware.com/";;
|
slackware) HOMEPAGE="http://www.slackware.com/";;
|
||||||
|
slax) HOMEPAGE="https://www.slax.org/";;
|
||||||
solus) HOMEPAGE="https://getsol.us/";;
|
solus) HOMEPAGE="https://getsol.us/";;
|
||||||
spiral) HOMEPAGE="https://spirallinux.github.io/";;
|
spiral) HOMEPAGE="https://spirallinux.github.io/";;
|
||||||
tails) HOMEPAGE="https://tails.net/";;
|
tails) HOMEPAGE="https://tails.net/";;
|
||||||
|
@ -879,6 +881,14 @@ function releases_slackware() {
|
||||||
echo 14.2 15.0
|
echo 14.2 15.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function releases_slax() {
|
||||||
|
echo latest
|
||||||
|
}
|
||||||
|
|
||||||
|
function editions_slax() {
|
||||||
|
echo debian slackware
|
||||||
|
}
|
||||||
|
|
||||||
function releases_solus() {
|
function releases_solus() {
|
||||||
echo 4.3
|
echo 4.3
|
||||||
}
|
}
|
||||||
|
@ -1262,7 +1272,7 @@ EOF
|
||||||
echo "disk_size=\"32G\"" >> "${CONF_FILE}";;
|
echo "disk_size=\"32G\"" >> "${CONF_FILE}";;
|
||||||
batocera)
|
batocera)
|
||||||
echo "disk_size=\"8G\"" >> "${CONF_FILE}";;
|
echo "disk_size=\"8G\"" >> "${CONF_FILE}";;
|
||||||
dragonflybsd|haiku|openbsd|netbsd|slackware|tails|tinycore)
|
dragonflybsd|haiku|openbsd|netbsd|slackware|slax|tails|tinycore)
|
||||||
echo "boot=\"legacy\"" >> "${CONF_FILE}";;
|
echo "boot=\"legacy\"" >> "${CONF_FILE}";;
|
||||||
deepin)
|
deepin)
|
||||||
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
|
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
|
||||||
|
@ -2359,6 +2369,24 @@ function get_slackware() {
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_slax() {
|
||||||
|
local HASH=""
|
||||||
|
local ISO=""
|
||||||
|
local URL=""
|
||||||
|
|
||||||
|
case ${EDITION} in
|
||||||
|
debian) URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-12.x"
|
||||||
|
ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1)
|
||||||
|
HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1)
|
||||||
|
;;
|
||||||
|
slackware) URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-15.x"
|
||||||
|
ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1)
|
||||||
|
HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
|
}
|
||||||
|
|
||||||
function get_solus() {
|
function get_solus() {
|
||||||
local EDITION="${1:-}"
|
local EDITION="${1:-}"
|
||||||
local HASH=""
|
local HASH=""
|
||||||
|
|
Loading…
Reference in New Issue