DistroHopper/OS/tinycore
zen0bit c087af2323 tmp
2024-04-10 21:20:44 +02:00

24 lines
792 B
Text

INFO="Tiny Core Linux|Independent||http://www.tinycorelinux.net/|Highly modular based system with community build extensions.";;
function releases_tinycore() {
echo 14.0
}
function editions_tinycore() {
echo Core TinyCore CorePlus CorePure64 TinyCorePure64
}
function get_tinycore() {
local HASH=""
local ISO="${EDITION}-${RELEASE}.iso"
local URL=""
if [ "${EDITION}" == "Core" ] || [ "${EDITION}" == "TinyCore" ] || [ "${EDITION}" == "CorePlus" ]; then
URL="http://www.tinycorelinux.net/14.x/x86/release"
elif [ "${EDITION}" == "CorePure64" ] || [ "${EDITION}" == "TinyCorePure64" ]; then
URL="http://www.tinycorelinux.net/14.x/x86_64/release"
fi
HASH=$(wget -q -O- "${URL}/${ISO}.md5.txt" | cut_1)
echo "${URL}/${ISO} ${HASH}"
}