mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-10-11 07:02:20 +00:00
Clarify which api may be rate limited in message
This commit is contained in:
@@ -1398,7 +1398,7 @@ download_select_install() {
|
|||||||
|
|
||||||
# Sanity check
|
# Sanity check
|
||||||
if [ "${#download_versions[@]}" -eq 0 ]; then
|
if [ "${#download_versions[@]}" -eq 0 ]; then
|
||||||
message warning "No $download_type versions were found. The source API may be down or rate limited."
|
message warning "No $download_type versions were found. The $download_url_type API may be down or rate limited."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1599,7 +1599,7 @@ download_install() {
|
|||||||
|
|
||||||
# Sanity check
|
# Sanity check
|
||||||
if [ -z "$download_url" ]; then
|
if [ -z "$download_url" ]; then
|
||||||
message warning "Could not find the requested ${download_type}. The source API may be down or rate limited."
|
message warning "Could not find the requested ${download_type}. The $download_url_type API may be down or rate limited."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user