mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-27 08:34:19 +00:00
Work around gitlab api nonsense
direct_asset_url is no longer a direct url
This commit is contained in:
parent
47579913ca
commit
3fc191102b
@ -1389,7 +1389,7 @@ download_install() {
|
||||
fi
|
||||
|
||||
# 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
|
||||
if [ -z "$download_url" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user