Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #29 from onlymostlydead/master
Browse files Browse the repository at this point in the history
Downloads from oracle.com failing again
  • Loading branch information
flexiondotorg committed Apr 27, 2012
2 parents a634e21 + 6264339 commit ac61658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oab-java6.sh
Expand Up @@ -275,7 +275,7 @@ pid=$!;progress $pid


# See if the Java version is on the download frontpage, otherwise look for it in # See if the Java version is on the download frontpage, otherwise look for it in
# the previous releases page. # the previous releases page.
DOWNLOAD_INDEX=`grep "/technetwork/java/javase/downloads/jdk-${JAVA_VER}u${JAVA_UPD}" /tmp/oab-index.html | grep "alt=\"Download JDK\"" | cut -d'<' -f3 | cut -d'"' -f2` DOWNLOAD_INDEX=`grep -P -o "/technetwork/java/javase/downloads/jdk-${JAVA_VER}u${JAVA_UPD}-downloads-\d+\.html" /tmp/oab-index.html | uniq`
if [ -n "${DOWNLOAD_INDEX}" ]; then if [ -n "${DOWNLOAD_INDEX}" ]; then
ncecho " [x] Getting current release download page " ncecho " [x] Getting current release download page "
wget http://www.oracle.com/${DOWNLOAD_INDEX} -O /tmp/oab-download.html >> "$log" 2>&1 & wget http://www.oracle.com/${DOWNLOAD_INDEX} -O /tmp/oab-download.html >> "$log" 2>&1 &
Expand Down

0 comments on commit ac61658

Please sign in to comment.