Change installation directory to be jdk|jre-relase.update-vendor-arch
authorCédric Pineau <cedric.pineau@gmail.com>
Sun, 19 Aug 2012 12:04:52 +0000 (14:04 +0200)
committerCédric Pineau <cedric.pineau@gmail.com>
Sun, 19 Aug 2012 12:04:52 +0000 (14:04 +0200)
lib/j2re.sh
lib/j2sdk.sh

index 5e1e496..608d1bd 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_release-$j2se_vendor"
+    j2se_name="jre-$j2se_version-$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 60452b4..e3bb5a2 100644 (file)
@@ -29,7 +29,7 @@ j2sdk_run() {
     diskfree "$j2se_required_space"
     read_maintainer_info
     j2se_package="$j2se_vendor-java$j2se_release-jdk"
-    j2se_name="jdk$j2se_release-$j2se_vendor"
+    j2se_name="jdk-$j2se_version-$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"