mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
47 lines
1.2 KiB
Text
47 lines
1.2 KiB
Text
# Template file for 'cereus'
|
|
OSNAME="cereus"
|
|
PRETTY="Cereus Linux"
|
|
LOGO=""
|
|
ICON="cereus.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/cereus.png"
|
|
CATEGORY="Beginner"
|
|
BASEDOF="Void"
|
|
DESCRIPTION="Void-based distribution focused on give an user-friendly experience."
|
|
HOMEPAGE="https://sourceforge.net/projects/cereus-linux"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
|
|
RELEASES="latest"
|
|
EDITIONS="base lxqt musl-base musl-lxqt musl-xfce xfce"
|
|
QEMU_ARCH="amd64"
|
|
|
|
releases_() {
|
|
echo latest
|
|
}
|
|
|
|
editions_() {
|
|
echo base lxqt musl-base musl-lxqt musl-xfce xfce
|
|
}
|
|
|
|
get_() {
|
|
local EDITION="${1:-}"
|
|
local HASH=""
|
|
local DATE=""
|
|
local ISO=""
|
|
local URL="https://sourceforge.net/projects/cereus-linux/files"
|
|
REST=$(web_pipe "https://sourceforge.net/projects/cereus-linux/rss?path=/isos/beta" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1)
|
|
ISO=$(echo ${REST} | cut -d'/' -f5)
|
|
case ${EDITION} in
|
|
base) HASH=$(wget -q -O- "${URL}/SHA256SUM" | grep "${ISO}" | cut -d' ' -f1);;
|
|
*) HASH=$(wget -q -O- "${URL}/SHA256" | grep "${ISO}" | cut -d' ' -f1);;
|
|
esac
|
|
echo "${URL}${REST} ${HASH}"
|
|
}
|
|
|
|
config_() {
|
|
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
|
|
}
|