From 0f22368cfb2025bb1072299be53599e512da01a2 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 20 Apr 2024 10:14:17 +0100 Subject: [PATCH] refactor: update freebsd to use web_pipe() and correct order --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 99cfc77..60c961f 100755 --- a/quickget +++ b/quickget @@ -981,7 +981,7 @@ function editions_fedora() { } function releases_freebsd(){ - local FBSD_RELEASES=$(curl -sL https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/|grep -e 'class="link"' |grep -v '\.\.'|cut -d\" -f4|tr -d '/' | tr '\n' ' ') + local FBSD_RELEASES=$(web_pipe "https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/" |grep -e 'class="link"' |grep -v '\.\.'|cut -d\" -f4|tr -d '/' | sort -r | tr '\n' ' ') echo "${FBSD_RELEASES}" }