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

42 lines
924 B
Text

# Template file for 'nitrux'
OSNAME="nitrux"
PRETTY="Nitrux"
LOGO=""
ICON="nitrux.svg"
ICON_ONLINE=""
CATEGORY="Beginner"
BASEDOF="Debian Ubuntu"
DESCRIPTION="Powered by Debian, KDE Plasma and Frameworks, and AppImages"
HOMEPAGE="https://nxos.org"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
MAGNET=""
MAGNET_PREFERRED=""
TORRENT=""
CHAT=""
RELEASES="latest"
QEMU_ARCH="amd64"
releases_() {
echo latest
}
get_() {
local HASH=""
local URLBASE=""
local URL=""
local ISO=""
URLBASE="https://sourceforge.net/projects/nitruxos/files/Release"
URL="${URLBASE}/ISO"
ISO=$(web_pipe 'https://sourceforge.net/projects/nitruxos/rss?path=/Release/ISO' | grep '.iso' | head -n 1 | cut -d']' -f1 | cut -d '/' -f4)
HASH=$(web_pipe "${URLBASE}/MD5/${ISONAME}.md5sum" | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
releases_() {
# Releases parsed at generation time — no network access needed.
echo "${RELEASES}"
}