From a0c9538c9463860769980020ea54fa34bc05d7be Mon Sep 17 00:00:00 2001 From: j-hc Date: Wed, 10 Apr 2024 19:13:14 +0300 Subject: [PATCH] fix config-update --- utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.sh b/utils.sh index 77b4c0b..3cdba21 100755 --- a/utils.sh +++ b/utils.sh @@ -119,7 +119,7 @@ config_update() { fi else sources[$PATCHES_SRC]=0 - if ! last_patches_url=$(gh_req "https://api.github.com/repos/${PATCHES_SRC}/releases/latest" - 2>&1 \ + if ! last_patches_url=$(gh_req "https://api.github.com/repos/${PATCHES_SRC}/releases/latest" - \ | jq -e -r '.assets[] | select(.name | endswith("jar")) | .name'); then abort oops fi