Skip to content

Commit

Permalink
Fix installer for changed bintray HTML
Browse files Browse the repository at this point in the history
When using the installers "list" functionality for a specifical release
channel (stable, staged, unstable), the script was no longer parsing the
possible versions correctly because the HTML has changed. There used to
be an "onclick" directive that is now now.

All versions are in an HREF tag that is surrounded by a <pre> block. So
install look for "pre".
  • Loading branch information
codenrhoden committed Jan 3, 2017
1 parent d802318 commit d6f0b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install
Expand Up @@ -73,7 +73,7 @@ list() {
else
URL="$URL/$PKG"
for v in $(curl $INSECURE -sSL $URL | \
grep 'onclick' | grep -v 'latest' | \
grep 'pre' | grep -v 'latest' | \
cut -d '>' -f3 | cut -d'/' -f1); do
echo "$SCRIPT_CMD -- $PKG $v"
done
Expand Down

0 comments on commit d6f0b33

Please sign in to comment.