mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
42 lines
1,003 B
Text
42 lines
1,003 B
Text
# Template file for 'ghostbsd'
|
|
OSNAME="ghostbsd"
|
|
PRETTY="GhostBSD"
|
|
LOGO=""
|
|
ICON="ghostbsd.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/ghostbsd.png"
|
|
CATEGORY="Beginner"
|
|
BASEDOF="FreeBSD"
|
|
DESCRIPTION="Simple, elegant desktop BSD Operating System"
|
|
HOMEPAGE="https://www.ghostbsd.org"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
GUEST="freebsd"
|
|
|
|
RELEASES="25.01-R14.2p1 24.10.1 24.07.3"
|
|
EDITIONS="mate xfce"
|
|
QEMU_ARCH="amd64"
|
|
|
|
releases_() {
|
|
#shellcheck disable=SC2046,SC2005
|
|
echo $(web_pipe "https://download.ghostbsd.org/releases/amd64/" | grep "href" | cut -d'"' -f2 | cut -d'/' -f1 | sort -r | tail -n +3 | head -n 3)
|
|
}
|
|
|
|
editions_() {
|
|
echo mate xfce
|
|
}
|
|
|
|
get_() {
|
|
local ISO=""
|
|
local URL="https://download.ghostbsd.org/releases/amd64/${RELEASE}"
|
|
local HASH=""
|
|
case ${EDITION} in
|
|
mate) ISO="GhostBSD-${RELEASE}.iso";;
|
|
xfce) ISO="GhostBSD-${RELEASE}-XFCE.iso";;
|
|
esac
|
|
HASH=$(web_pipe "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|