Add Void Puppy

This commit is contained in:
zenobit 2023-09-14 15:21:27 +02:00
parent 38fec19191
commit f6d34bc3e4

View file

@ -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"