mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-16 20:50:35 +00:00
Compare commits
2 Commits
47579913ca
...
5e4cebb090
Author | SHA1 | Date | |
---|---|---|---|
|
5e4cebb090 | ||
|
3fc191102b |
@ -220,7 +220,7 @@ lug_wiki="https://starcitizen-lug.github.io"
|
|||||||
# Github repo and script version info
|
# Github repo and script version info
|
||||||
repo="starcitizen-lug/lug-helper"
|
repo="starcitizen-lug/lug-helper"
|
||||||
releases_url="https://github.com/$repo/releases"
|
releases_url="https://github.com/$repo/releases"
|
||||||
current_version="v2.6.3"
|
current_version="v2.6.4"
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
############################################################################
|
############################################################################
|
||||||
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user