Commit 992c0fd5 authored by Emmanuel Bourg's avatar Emmanuel Bourg

Fixed the detection of the latest Java 8 documentation archives

parent fcab14d9
......@@ -7,6 +7,7 @@ java-package (0.60) UNRELEASED; urgency=medium
[ Emmanuel Bourg ]
* Added jcontrol to the command line alternatives (Closes: #799370)
* Fixed the detection of the latest Java 8 documentation archives.
-- tony mancill <tmancill@debian.org> Thu, 18 Jun 2015 22:00:02 -0700
......
......@@ -3,7 +3,7 @@ oracle_j2sdk_doc_detect() {
j2se_release=0
# Update or GA release (jdk-7u25-apidocs.zip)
if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-apidocs\.zip ]]
if [[ $archive_name =~ jdk-([0-9]+)(u([0-9]+))?-(apidocs|docs-all)\.zip ]]
then
j2se_release=${BASH_REMATCH[1]}
j2se_update=${BASH_REMATCH[3]}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment