fix config-update

This commit is contained in:
j-hc 2024-04-10 19:13:14 +03:00
parent cbba95a290
commit a0c9538c94
No known key found for this signature in database
GPG Key ID: CDF97F1DBFE904CD

View File

@ -119,7 +119,7 @@ config_update() {
fi fi
else else
sources[$PATCHES_SRC]=0 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 | jq -e -r '.assets[] | select(.name | endswith("jar")) | .name'); then
abort oops abort oops
fi fi