From 05d75ec82f96be02f017bf1a9e292f7895470029 Mon Sep 17 00:00:00 2001 From: the Sane <3657071+the-sane@users.noreply.github.com> Date: Sat, 18 Sep 2021 15:17:39 -0400 Subject: [PATCH] Ignore sha512sum files when creating download list --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 2552b12..3356644 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -957,7 +957,7 @@ runner_select_install() { # To add new sources, handle them here, in the if statement # just above, and the runner_install function above if [ "$runner_url_type" = "github" ]; then - runner_versions=($(curl -s "$contributor_url" | awk '/browser_download_url/ {print $2}' | xargs basename -a)) + runner_versions=($(curl -s "$contributor_url" | awk '/browser_download_url/ {print $2}' | grep -vE "*.sha512sum" | xargs basename -a)) else debug_print exit "Script error: Unknown api/url format in runner_sources array. Aborting." fi