Definitely it is related with new file name pattern adopted by Sun. I
don't know much about the script, but I add the following name pattern
matching to usr/share/java-package/oracle-jre.sh and it works:

  # Update to match with version 10 and newer
  if [[ $archive_name =~ ^jre-([0-9]+)\.([0-9]+)\.([0-9]+)_linux-
(i586|x64|amd64)_(bin|tar\.gz) ]]
  then
    j2se_release=${BASH_REMATCH[1]}
    j2se_update=${BASH_REMATCH[3]}
    j2se_arch=${BASH_REMATCH[4]}
    if [[ $j2se_update != "" ]]
    then
      j2se_version_name="$j2se_release Update $j2se_update"
      j2se_version=${j2se_release}u${j2se_update}${revision}
    else
      j2se_version_name="$j2se_release GA"
      j2se_version=${j2se_release}${revision}
    fi
  fi

-- 
Saludos,
Roberto De Oliveira

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to