flexiondotorg/oab-java6 — pull request #29 by onlymostlydead (2012-04-26 23:27:14+00:00)
Title: Downloads from oracle.com failing again

rraptorr updated sun-java6 for update 32. Oracle split out the demos but the link goes to the same download page. This change, or some other change Oracle made to the page breaks the line that sets DOWNLOAD_INDEX.

I changed it to use a Perl-compatible regex (works with Ubuntu 10.04 and up) and output the matched string. It then filters that through uniq to get a single string. "head -1" might have been a better idea but this worked for me.

My first pull request. Be gentle. :-)