DistroHopper/public/lmde
2026-11-29 05:46:38 +01:00

61 lines
1.4 KiB
Text

# Template file for 'lmde'
OSNAME="lmde"
PRETTY="Linux Mint Debian Edition"
LOGO=""
ICON="linux-mint-debian-edition.svg"
ICON_ONLINE=""
CATEGORY="Beginner"
BASEDOF="Debian"
DESCRIPTION="Aims to be as similar as possible to Linux Mint, but without using Ubuntu. The package base is provided by Debian instead"
HOMEPAGE="https://www.linuxmint.com/download_lmde.php"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
MAGNET=""
MAGNET_PREFERRED=""
TORRENT=""
CHAT=""
RELEASES="7"
EDITIONS="cinnamon"
EDITIONS_LIST="cinnamon"
QEMU_ARCH="amd64"
releases_() {
web_pipe "https://community.linuxmint.com/iso" | grep -oP 'lmde-[0-9]+' | sed 's/lmde-//' | sort -Vu
}
editions_() {
echo cinnamon
}
get_() {
local HASH=""
local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso"
local URL="https://pub.linuxmint.io/debian"
HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
releases_() {
# Releases parsed at generation time — no network access needed.
echo "${RELEASES}"
}
editions_() {
# Editions parsed at generation time — no network access needed.
local _scoped=""
if [ -n "${RELEASE:-}" ] && declare -F _release_editions_ >/dev/null; then
_scoped=$(_release_editions_ "${ARCH:-}|${RELEASE}")
fi
if [ -n "${_scoped}" ]; then
echo "${_scoped}"
return 0
fi
local _per_arch="EDITIONS_${ARCH:-}"
if [ -n "${!_per_arch:-}" ]; then
echo "${!_per_arch}"
return 0
fi
echo "${EDITIONS:-}"
}