Prioritize bintray over GitHub releases for scripts

This commit is contained in:
Shivam Mathur 2020-11-25 11:12:07 +05:30
parent c6150c6a2b
commit 41797e3af9
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -75,7 +75,7 @@ run_script() {
repo=$1
shift
args=("$@")
get -q -e /tmp/install.sh "$github/$repo/$latest/install.sh" "$bintray/php/$repo.sh"
get -q -e /tmp/install.sh "$bintray/php/$repo.sh" "$github/$repo/$latest/install.sh"
bash /tmp/install.sh "${args[@]}"
}