DistroHopper/templates/slitaz
2026-05-27 17:00:06 +02:00

33 lines
906 B
Text

# Template file for 'slitaz'
OSNAME="slitaz"
PRETTY="SliTaz"
LOGO=""
ICON="slitaz.svg"
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/slitaz.png"
CATEGORY="Lightweight"
BASEDOF="-"
HOMEPAGE="https://www.slitaz.org"
DESCRIPTION="Simple, fast and low resource Linux OS for servers & desktops"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
function releases_() {
#shellcheck disable=SC2046,SC2005
echo $(web_pipe "https://mirror.slitaz.org/iso/rolling/" | grep "class='iso'" | cut -d"'" -f4 | cut -d'-' -f3- | grep iso | cut -d'.' -f1 | sort -u)
}
function get_() {
local HASH=""
local ISO="slitaz-rolling-${RELEASE}"
local URL="http://mirror.slitaz.org/iso/rolling"
HASH=$(web_pipe "${URL}/${ISO}.md5" | cut -d' ' -f1)
echo "${URL}/${ISO}.iso ${HASH}"
}
function config_() {
echo "boot=\"legacy\"" >> "${CONF_FILE}"
echo "disk_size=\"4G\"" >> "${CONF_FILE}"
echo "ram=\"512M\"" >> "${CONF_FILE}"
}