📦 Nitrux
This commit is contained in:
parent
59033897c8
commit
62c4c44090
20
quickget
20
quickget
|
@ -98,6 +98,7 @@ function pretty_name() {
|
||||||
mxlinux) PRETTY_NAME="MX Linux";;
|
mxlinux) PRETTY_NAME="MX Linux";;
|
||||||
netboot) PRETTY_NAME="netboot.xyz";;
|
netboot) PRETTY_NAME="netboot.xyz";;
|
||||||
netbsd) PRETTY_NAME="NetBSD";;
|
netbsd) PRETTY_NAME="NetBSD";;
|
||||||
|
nitrux) PRETTY_NAME="Nitrux";;
|
||||||
nixos) PRETTY_NAME="NixOS";;
|
nixos) PRETTY_NAME="NixOS";;
|
||||||
macos) PRETTY_NAME="macOS";;
|
macos) PRETTY_NAME="macOS";;
|
||||||
openbsd) PRETTY_NAME="OpenBSD";;
|
openbsd) PRETTY_NAME="OpenBSD";;
|
||||||
|
@ -268,6 +269,7 @@ function os_support() {
|
||||||
mxlinux \
|
mxlinux \
|
||||||
netboot \
|
netboot \
|
||||||
netbsd \
|
netbsd \
|
||||||
|
nitrux \
|
||||||
nixos \
|
nixos \
|
||||||
lubuntu \
|
lubuntu \
|
||||||
macos \
|
macos \
|
||||||
|
@ -363,6 +365,7 @@ function os_homepages(){
|
||||||
mxlinux) HOMEPAGE="https://mxlinux.org/";;
|
mxlinux) HOMEPAGE="https://mxlinux.org/";;
|
||||||
netboot) HOMEPAGE="https://netboot.xyz/";;
|
netboot) HOMEPAGE="https://netboot.xyz/";;
|
||||||
netbsd) HOMEPAGE="https://www.netbsd.org/";;
|
netbsd) HOMEPAGE="https://www.netbsd.org/";;
|
||||||
|
nitrux) HOMEPAGE="https://nxos.org/";;
|
||||||
nixos) HOMEPAGE="https://nixos.org/";;
|
nixos) HOMEPAGE="https://nixos.org/";;
|
||||||
lubuntu) HOMEPAGE="https://lubuntu.me/";;
|
lubuntu) HOMEPAGE="https://lubuntu.me/";;
|
||||||
macos) HOMEPAGE="https://www.apple.com/macos/";;
|
macos) HOMEPAGE="https://www.apple.com/macos/";;
|
||||||
|
@ -763,6 +766,10 @@ function releases_netbsd() {
|
||||||
echo ${NBSD_RELEASES}
|
echo ${NBSD_RELEASES}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function releases_nitrux() {
|
||||||
|
echo latest
|
||||||
|
}
|
||||||
|
|
||||||
function releases_nixos(){
|
function releases_nixos(){
|
||||||
echo 21.05 21.11 22.05 22.11 23.05 23.11
|
echo 21.05 21.11 22.05 22.11 23.05 23.11
|
||||||
}
|
}
|
||||||
|
@ -2136,6 +2143,19 @@ function get_netbsd() {
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_nitrux() {
|
||||||
|
local HASH=""
|
||||||
|
local URLBASE=""
|
||||||
|
local URL=""
|
||||||
|
local ISO=""
|
||||||
|
|
||||||
|
URLBASE="https://sourceforge.net/projects/nitruxos/files/Release"
|
||||||
|
URL="${URLBASE}/ISO"
|
||||||
|
ISO=$(wget -qO- 'https://sourceforge.net/projects/nitruxos/rss?path=/Release/ISO' | grep '.iso' | head -1 | cut -d']' -f1 | cut -d '/' -f4)
|
||||||
|
HASH=$(wget -q -O- "${URLBASE}/MD5/${ISONAME}.md5sum" | grep "${ISO}" | cut -d' ' -f1)
|
||||||
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
|
}
|
||||||
|
|
||||||
function get_nixos() {
|
function get_nixos() {
|
||||||
local EDITION="${1:-}"
|
local EDITION="${1:-}"
|
||||||
local HASH=""
|
local HASH=""
|
||||||
|
|
Loading…
Reference in New Issue