From b730adf10947f2456e4ccac7461ca49516682182 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 24 Jun 2024 11:25:03 +0100 Subject: [PATCH] chore: constrain netbsd to the 4 most recent releases --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index af357d1..55c17f3 100755 --- a/quickget +++ b/quickget @@ -898,7 +898,7 @@ function releases_netboot() { function releases_netbsd() { # V8 is EOL so filter it out #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "http://cdn.netbsd.org/pub/NetBSD/iso/" | grep -o -E '"[[:digit:]]+\.[[:digit:]]+/"' | tr -d '"/' | grep -v ^8 | sort -nr) + echo $(web_pipe "http://cdn.netbsd.org/pub/NetBSD/iso/" | grep -o -E '"[[:digit:]]+\.[[:digit:]]+/"' | tr -d '"/' | grep -v ^8 | sort -nr | head -n 4) } function releases_nitrux() {