Work around gitlab api nonsense

direct_asset_url is no longer a direct url
This commit is contained in:
the-sane 2023-04-21 13:16:29 -04:00
parent 47579913ca
commit 3fc191102b

View File

@ -1389,7 +1389,7 @@ download_install() {
fi fi
# Get the selected download url # Get the selected download url
download_url="$(curl -s "$contributor_url$query_string" | grep -Eo "\"$search_key\": ?\"[^\"]+$download_file\"" | cut -d '"' -f4)" download_url="$(curl -s "$contributor_url$query_string" | grep -Eo "\"$search_key\": ?\"[^\"]+$download_file\"" | cut -d '"' -f4 | sed 's|/-/blob/|/-/raw/|')"
# Sanity check # Sanity check
if [ -z "$download_url" ]; then if [ -z "$download_url" ]; then