From 31d12308dd7efb7ad34a6a6c80f43a17d974d9a9 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sat, 1 Apr 2023 19:16:30 +0200 Subject: [PATCH] Make NetBSD releases dynamic --- quickget | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickget b/quickget index 84a0c54..8c92d36 100755 --- a/quickget +++ b/quickget @@ -527,7 +527,8 @@ function releases_netboot() { } function releases_netbsd() { - echo 9.0 9.1 9.2 9.3 + local NBSD_RELEASES=$(curl -sL http://cdn.netbsd.org/pub/NetBSD/iso/ | grep -o -E '\"[[:digit:]]+\.[[:digit:]]+/\"' |tr -d '"/' |sort -nr ) + echo ${NBSD_RELEASES} } function releases_nixos(){