From f1fb6858410abff8ca6538d02dc6df2b8aabc44e Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 13 Sep 2023 21:43:19 +0200 Subject: [PATCH] vx-linux: 5.5 --- quickget | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/quickget b/quickget index 756eb8239d..989e3f042b 100755 --- a/quickget +++ b/quickget @@ -690,7 +690,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() { @@ -1806,6 +1806,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="" @@ -1828,19 +1836,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}"