From 8e87089a345323f515e199e11b6176091402ee50 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 20 Apr 2024 10:20:31 +0100 Subject: [PATCH] refactor: update openbsd to use web_pipe() --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 3f051a8..e804f62 100755 --- a/quickget +++ b/quickget @@ -1122,7 +1122,7 @@ function editions_nixos(){ } function releases_openbsd(){ - local OBSD_RELEASES=$(curl -sL https://mirror.leaseweb.com/pub/OpenBSD/ | grep -e '6\.[8-9]/' -e '[7-9]\.' | cut -d\" -f4 | tr -d '/' | tr '\n' ' ') + local OBSD_RELEASES=$(web_pipe "https://mirror.leaseweb.com/pub/OpenBSD/" | grep -e '6\.[8-9]/' -e '[7-9]\.' | cut -d\" -f4 | tr -d '/' | sort -r | tr '\n' ' ') echo "${OBSD_RELEASES}" }