Add F-void

This commit is contained in:
zenobit 2023-09-14 15:10:53 +02:00
parent cdd0744fa1
commit 7c2b62199b

View file

@ -49,6 +49,7 @@ function pretty_name() {
endless) PRETTY_NAME="Endless OS";; endless) PRETTY_NAME="Endless OS";;
freebsd) PRETTY_NAME="FreeBSD";; freebsd) PRETTY_NAME="FreeBSD";;
freedos) PRETTY_NAME="FreeDOS";; freedos) PRETTY_NAME="FreeDOS";;
fvoid) PRETTY_NAME="F-Void";;
garuda) PRETTY_NAME="Garuda Linux";; garuda) PRETTY_NAME="Garuda Linux";;
ghostbsd) PRETTY_NAME="GhostBSD";; ghostbsd) PRETTY_NAME="GhostBSD";;
holoiso) PRETTY_NAME="Steam OS HoloISO";; holoiso) PRETTY_NAME="Steam OS HoloISO";;
@ -204,6 +205,7 @@ function os_support() {
fedora \ fedora \
freebsd \ freebsd \
freedos \ freedos \
fvoid \
garuda \ garuda \
gentoo \ gentoo \
ghostbsd \ ghostbsd \
@ -428,6 +430,10 @@ function releases_freedos() {
echo 1.2 1.3 echo 1.2 1.3
} }
function releases_fvoid() {
echo latest
}
function releases_garuda() { function releases_garuda() {
echo latest echo latest
} }
@ -1423,6 +1429,16 @@ function get_freedos() {
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }
function get_fvoid() {
local HASH=""
local URL=""
local TMPURL=""
TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/f-void/files/latest/download" 2>&1 | grep -i Location | cut -d' ' -f4)
URL=${TMPURL%\?*}
echo "${URL} ${HASH}"
}
function get_garuda() { function get_garuda() {
local EDITION="${1:-}" local EDITION="${1:-}"
local HASH="" local HASH=""