From a67194f63baa573d8b256a1d97f66379e52c7d33 Mon Sep 17 00:00:00 2001 From: zenobit Date: Fri, 15 Dec 2023 03:24:00 +0100 Subject: [PATCH] Add Nitrux --- quickget | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/quickget b/quickget index 0264bc4ed8..6cbad2c711 100755 --- a/quickget +++ b/quickget @@ -98,6 +98,7 @@ function pretty_name() { mxlinux) PRETTY_NAME="MX Linux";; netboot) PRETTY_NAME="netboot.xyz";; netbsd) PRETTY_NAME="NetBSD";; + nitrux) PRETTY_NAME="Nitrux";; nixos) PRETTY_NAME="NixOS";; macos) PRETTY_NAME="macOS";; openbsd) PRETTY_NAME="OpenBSD";; @@ -279,6 +280,7 @@ function os_support() { mxlinux \ netboot \ netbsd \ + nitrux \ nixos \ lubuntu \ macos \ @@ -376,14 +378,15 @@ function os_homepages(){ linuxlite) HOMEPAGE="https://www.linuxliteos.com/";; linuxmint) HOMEPAGE="https://linuxmint.com/";; lmde) HOMEPAGE="https://www.linuxmint.com/download_lmde.php";; + lubuntu) HOMEPAGE="https://lubuntu.me/";; mageia) HOMEPAGE="https://www.mageia.org/";; manjaro) HOMEPAGE="https://manjaro.org/";; mxlinux) HOMEPAGE="https://mxlinux.org/";; miyo) HOMEPAGE="https://miyolinux.sourceforge.io/";; netboot) HOMEPAGE="https://netboot.xyz/";; netbsd) HOMEPAGE="https://www.netbsd.org/";; + nitrux) HOMEPAGE="https://nxos.org/";; nixos) HOMEPAGE="https://nixos.org/";; - lubuntu) HOMEPAGE="https://lubuntu.me/";; macos) HOMEPAGE="https://www.apple.com/macos/";; openbsd) HOMEPAGE="https://www.openbsd.org/";; openindiana) HOMEPAGE="https://www.openindiana.org/";; @@ -852,6 +855,10 @@ function releases_netbsd() { echo ${NBSD_RELEASES} } +function releases_nitrux() { + echo latest +} + function releases_nixos(){ echo 21.05 21.11 22.05 22.11 23.05 23.11 } @@ -2358,6 +2365,21 @@ function get_netbsd() { echo "${URL}/${ISO} ${HASH}" } +function get_nitrux() { + local HASH="" + local URLBASE="" + local URL="" + local ISONAME="" + local ISO="" + + URLBASE="https://sourceforge.net/projects/nitruxos/files/Release" + URL="${URLBASE}/ISO" + ISONAME="nitrux-nx-desktop-plasma-fefc905b-amd64" + ISO="${ISONAME}.iso" + HASH=$(wget -q -O- "${URLBASE}/MD5/${ISONAME}.md5sum" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} + function get_nixos() { local EDITION="${1:-}" local HASH=""