mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
24 lines
792 B
Text
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}"
|
|
}
|