Change the installation path from /usr/lib/jvm/jdk-6.38-oracle-x64 or /usr/lib/jvm...
authorSylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>
Wed, 5 Jun 2013 12:06:04 +0000 (14:06 +0200)
committerSylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>
Wed, 5 Jun 2013 12:06:04 +0000 (14:06 +0200)
debian/changelog
lib/j2re.sh
lib/j2sdk.sh

index 3295b1b..858ba86 100644 (file)
@@ -7,6 +7,11 @@ java-package (0.52) unstable; urgency=low
   * Remove obsolete variable from the changelog
   * Add support of ARM upstream binary by James Page and Matthias Vill.
     Thanks guys! (Closes: #687375)
+  * Change the installation path from
+    /usr/lib/jvm/jdk-6.38-oracle-x64 or /usr/lib/jvm/jdk-7.10-oracle-x64
+    to
+    /usr/lib/jvm/jdk-6-oracle-x64 and /usr/lib/jvm/jdk-7-oracle-x64
+    Thanks to Constantin Makshin for the patch (Closes: #696227)
 
   [ C├ędric Pineau ]
   * Fix lintian errors and warnings
index 608d1bd..864f141 100644 (file)
@@ -27,7 +27,7 @@ j2re_run() {
     diskfree "$j2se_required_space"
     read_maintainer_info
     j2se_package="$j2se_vendor-java$j2se_release-jre"
-    j2se_name="jre-$j2se_version-$j2se_vendor-$j2se_arch"
+    j2se_name="jre-$j2se_release-$j2se_vendor-$j2se_arch"
     local target="$install_dir$jvm_base$j2se_name"
     install -d -m 755 "$( dirname "$target" )"
     extract_bin "$archive_path" "$j2se_expected_min_size" "$target"
index 21031c9..778b370 100644 (file)
@@ -40,7 +40,7 @@ j2sdk_run() {
     diskfree "$j2se_required_space"
     read_maintainer_info
     j2se_package="$j2se_vendor-java$j2se_release-jdk"
-    j2se_name="jdk-$j2se_version-$j2se_vendor-$j2se_arch"
+    j2se_name="jdk-$j2se_release-$j2se_vendor-$j2se_arch"
     local target="$install_dir$jvm_base$j2se_name"
     install -d -m 755 "$( dirname "$target" )"
     extract_bin "$archive_path" "$j2se_expected_min_size" "$target"