From f6d34bc3e40037b4c27bd7f698422fd250fea557 Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 14 Sep 2023 15:21:27 +0200 Subject: [PATCH] Add Void Puppy --- quickget | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/quickget b/quickget index ca4597e..154fdc2 100755 --- a/quickget +++ b/quickget @@ -85,6 +85,7 @@ function pretty_name() { ubuntu-unity) PRETTY_NAME="Ubuntu Unity";; vanillaos) PRETTY_NAME="Vanilla OS";; void) PRETTY_NAME="Void Linux";; + voidpup) PRETTY_NAME="Void Puppy";; vxlinux) PRETTY_NAME="VX Linux";; xerolinux) PRETTY_NAME="XeroLinux";; zorin) PRETTY_NAME="Zorin OS";; @@ -255,6 +256,7 @@ function os_support() { ubuntu-unity \ vanillaos \ void \ + voidpup \ vxlinux \ windows \ xerolinux \ @@ -739,6 +741,10 @@ function editions_void() { echo glibc musl xfce-glibc xfce-musl } +function releases_voidpup() { + echo latest +} + function releases_vxlinux() { wget -q https://github.com/VX-Linux/main/releases/latest -O- |grep -o -e 'releases/tag/[[:digit:]]\+\.[[:digit:]]\+'|head -1|cut -d/ -f3 } @@ -2009,6 +2015,16 @@ function get_void() { echo "${URL}/${ISO} ${HASH}" } +function get_voidpup() { + local HASH="" + local URL="" + local TMPURL="" + + TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/vpup/files/latest/download" 2>&1 | grep -i Location | cut -d' ' -f4) + URL=${TMPURL%\?*} + echo "${URL} ${HASH}" +} + function get_vxlinux() { local HASH="" local ISO="vx-${RELEASE}.iso"