Changed the name of the generated package to oracle-java6-jdk
authorEmmanuel Bourg <ebourg@apache.org>
Mon, 6 Feb 2012 11:16:58 +0000 (12:16 +0100)
committerCédric Pineau <cedric.pineau@gmail.com>
Thu, 2 Aug 2012 16:19:14 +0000 (18:19 +0200)
Signed-off-by: Cédric Pineau <cedric.pineau@gmail.com>
lib/j2re.sh
lib/j2sdk-doc.sh
lib/j2sdk.sh
lib/oracle-j2re.sh
lib/oracle-j2sdk-doc.sh
lib/oracle-j2sdk.sh

index 240a83f..774f2db 100644 (file)
@@ -26,7 +26,7 @@ j2re_run() {
     echo
     diskfree "$j2se_required_space"
     read_maintainer_info
-    j2se_package="$j2se_vendor-jre$j2se_release"
+    j2se_package="$j2se_vendor-java$j2se_release-jre"
     j2se_name="jre$j2se_release-$j2se_vendor"
     local target="$install_dir$jvm_base$j2se_name"
     install -d -m 755 "$( dirname "$target" )"
index 4b30757..20aa8d6 100644 (file)
@@ -39,7 +39,7 @@ j2sdk_doc_run() {
     echo
     diskfree "$j2se_required_space"
     read_maintainer_info
-    j2se_package="$j2se_vendor-jdk$j2se_release-doc"
+    j2se_package="$j2se_vendor-java$j2se_release-doc"
     j2se_name="jdk$j2se_release-$j2se_vendor-doc"
     local target="$install_dir$javadoc_base$j2se_name"
     install -d -m 755 "$( dirname "$target" )"
index 775ab42..dfb0e04 100644 (file)
@@ -28,7 +28,7 @@ j2sdk_run() {
     echo
     diskfree "$j2se_required_space"
     read_maintainer_info
-    j2se_package="$j2se_vendor-jdk$j2se_release"
+    j2se_package="$j2se_vendor-java$j2se_release-jdk"
     j2se_name="jdk$j2se_release-$j2se_vendor"
     local target="$install_dir$jvm_base$j2se_name"
     install -d -m 755 "$( dirname "$target" )"
index 4e5d340..7ade629 100644 (file)
@@ -47,7 +47,7 @@ Detected product:
 EOF
        if read_yn "Is this correct [Y/n]: "; then
            j2se_found=true
-           j2se_release="${j2se_version:0:3}"
+           j2se_release="${j2se_version:2:1}"
            j2se_required_space=$(( $j2se_expected_min_size * 2 + 20 ))
            j2se_vendor="oracle"
            j2se_title="Java(TM) JRE, Standard Edition, Oracle(TM)"
index 5b1487f..64ccb0f 100644 (file)
@@ -23,7 +23,7 @@ Detected product:
 EOF
        if read_yn "Is this correct [Y/n]: "; then
            j2se_found=true
-           j2se_release="${j2se_version:0:3}"
+           j2se_release="${j2se_version:2:1}"
            j2se_required_space=$(( $j2se_expected_min_size * 2 + 20 ))
            j2se_vendor="oracle"
            j2se_title="Java(TM) JDK, Standard Edition, Oracle(TM) Documentation"
index c81334d..34fe383 100644 (file)
@@ -47,7 +47,7 @@ Detected product:
 EOF
        if read_yn "Is this correct [Y/n]: "; then
            j2se_found=true
-           j2se_release="${j2se_version:0:3}"
+           j2se_release="${j2se_version:2:1}"
            j2se_required_space=$(( $j2se_expected_min_size * 2 + 20 ))
            j2se_vendor="oracle"
            j2se_title="Java(TM) JDK, Standard Edition, Oracle(TM)"