From 358b0ff514c33c30e8b809fac41a8c82e91edc67 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Tue, 23 Apr 2024 09:39:36 +0200 Subject: [PATCH] list_check_all function instead of test_isos, updated --- quickget | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 1e223e9..d15c46b 100755 --- a/quickget +++ b/quickget @@ -429,7 +429,7 @@ function list_isos() { exit 0 } -function test_isos() { +function list_check_all() { local DIR="/dev/null" local FUNC local OPTION @@ -448,6 +448,7 @@ function test_isos() { else FUNC="${OS}" fi + for RELEASE in $("releases_${FUNC}" | sed -Ee 's/eol-\S+//g' ); do # hide eol releases if [[ $(type -t "editions_${OS}") == function ]]; then for OPTION in $(editions_"${OS}"); do @@ -3545,7 +3546,7 @@ case "${1}" in '--check-all'|'-ca') just="test" shift - time test_isos "${1}" + list_check_all "${1}" ;; #TODO: Argument without dashes should be DEPRECATED! '--list-csv'|'-lc'|'list'|'list_csv'|'lc')