diff --git a/quickget b/quickget index 80552e6..26c1ea1 100755 --- a/quickget +++ b/quickget @@ -49,6 +49,7 @@ function pretty_name() { endless) PRETTY_NAME="Endless OS";; freebsd) PRETTY_NAME="FreeBSD";; freedos) PRETTY_NAME="FreeDOS";; + fvoid) PRETTY_NAME="F-Void";; garuda) PRETTY_NAME="Garuda Linux";; ghostbsd) PRETTY_NAME="GhostBSD";; holoiso) PRETTY_NAME="Steam OS HoloISO";; @@ -204,6 +205,7 @@ function os_support() { fedora \ freebsd \ freedos \ + fvoid \ garuda \ gentoo \ ghostbsd \ @@ -428,6 +430,10 @@ function releases_freedos() { echo 1.2 1.3 } +function releases_fvoid() { + echo latest +} + function releases_garuda() { echo latest } @@ -1423,6 +1429,16 @@ function get_freedos() { 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() { local EDITION="${1:-}" local HASH=""