From 465edc1f43cba45b652f967c0a2433192c667fa8 Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 14 Sep 2023 14:49:05 +0200 Subject: [PATCH] vxlinux: update to 5.5 --- quickget | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/quickget b/quickget index 58b7016..6f38d27 100755 --- a/quickget +++ b/quickget @@ -684,7 +684,7 @@ function editions_void() { } function releases_vxlinux() { - echo 6.1.2 6.1 5.0 4.2 4.1 4.0 + wget -q https://github.com/VX-Linux/main/releases/latest -O- |grep -o -e 'releases/tag/[[:digit:]]\+\.[[:digit:]]\+'|head -1|cut -d/ -f3 } function releases_windows() { @@ -1802,6 +1802,14 @@ function get_void() { echo "${URL}/${ISO} ${HASH}" } +function get_vxlinux() { + local HASH="" + local ISO="vx-${RELEASE}.iso" + local URL="https://github.com/VX-Linux/main/releases/download/${RELEASE}" + + HASH=$(wget -q -O- "${URL}/vx-${RELEASE}.md5" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} function get_xerolinux() { local HASH="" @@ -1824,19 +1832,6 @@ function get_zorin() { echo "${URL} ${HASH}" } -function get_vxlinux() { - local HASH="" - local ISO="" - local URL="https://github.com/dessington/vx-linux/releases/download/${RELEASE}" - - if [ "$RELEASE" == "4.0" ]; then - ISO="vx-linux-4.0-qt.iso" - else - ISO="vx-linux-${RELEASE}.iso" - fi - echo "${URL}/${ISO} ${HASH}" -} - function unattended_windows() { cat << 'EOF' > "${1}"