|
|
|
@ -455,9 +455,13 @@ function releases_ubuntu() { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function releases_void() { |
|
|
|
|
echo base \ |
|
|
|
|
echo current |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function editions_void() { |
|
|
|
|
echo glibc \ |
|
|
|
|
musl \ |
|
|
|
|
xfce \ |
|
|
|
|
xfce-glibc \ |
|
|
|
|
xfce-musl |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1081,15 +1085,19 @@ function get_openbsd() { |
|
|
|
|
|
|
|
|
|
function get_void() { |
|
|
|
|
local DATE="" |
|
|
|
|
local EDITION="" |
|
|
|
|
local HASH="" |
|
|
|
|
local ISO="" |
|
|
|
|
local URL="https://alpha.de.repo.voidlinux.org/live/current" |
|
|
|
|
|
|
|
|
|
DATE=$(wget -q -O- "${URL}/sha256sum.txt" | head -n1 | cut -d'.' -f1 | cut -d'-' -f4) |
|
|
|
|
case ${RELEASE} in |
|
|
|
|
base) ISO="void-live-x86_64-${DATE}.iso";; |
|
|
|
|
if [ -n "${1}" ]; then |
|
|
|
|
EDITION="${1}" |
|
|
|
|
fi |
|
|
|
|
case ${EDITION} in |
|
|
|
|
glibc) ISO="void-live-x86_64-${DATE}.iso";; |
|
|
|
|
musl) ISO="void-live-x86_64-musl-${DATE}.iso";; |
|
|
|
|
xfce) ISO="void-live-x86_64-${DATE}-xfce.iso";; |
|
|
|
|
xfce-glibc) ISO="void-live-x86_64-${DATE}-xfce.iso";; |
|
|
|
|
xfce-musl) ISO="void-live-x86_64-musl-${DATE}-xfce.iso";; |
|
|
|
|
esac |
|
|
|
|
HASH="$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f4)" |
|
|
|
|