mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
26 lines
873 B
Text
26 lines
873 B
Text
# Template file for 'sparkylinux'
|
|
OSNAME="sparkylinux"
|
|
PRETTY="SparkyLinux"
|
|
BASEDOF="Debian"
|
|
DESCRIPTION="Fast, lightweight and fully customizable operating system which offers several versions for different use cases"
|
|
HOMEPAGE="https://sparkylinux.org"
|
|
CREDENTIALS="-"
|
|
|
|
|
|
RELEASES="7.7"
|
|
EDITIONS="xfce minimalgui minimalcli mate lxqt kde"
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local ISO=""
|
|
local URL=""
|
|
ISO="sparkylinux-${RELEASE}-x86_64-${EDITION}.iso"
|
|
case ${EDITION} in
|
|
minimalcli) URL="https://sourceforge.net/projects/sparkylinux/files/cli";;
|
|
minimalgui) URL="https://sourceforge.net/projects/sparkylinux/files/base";;
|
|
*) URL="https://sourceforge.net/projects/sparkylinux/files/${EDITION}";;
|
|
esac
|
|
HASH=$(web_pipe "${URL}/${ISO}.allsums.txt" | head -n 2 | grep 'iso' | cut -d' ' -f1)
|
|
echo "${URL}/${ISO}" "${HASH}"
|
|
}
|
|
|