Permalink
Browse files

lib/{jre,jdk}.sh: add $j2se_update to package name

  • Loading branch information...
pommi committed Feb 27, 2015
1 parent 3ec9b32 commit 9644c415e9bb84a1aa36300dc5892c16c775f51f
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/jdk.sh
  2. +2 −2 lib/jre.sh
@@ -57,8 +57,8 @@ j2sdk_run() {
echo
diskfree "$j2se_required_space"
read_maintainer_info
j2se_package="$j2se_vendor-java$j2se_release-jdk"
j2se_name="jdk-$j2se_release-$j2se_vendor-$j2se_arch"
j2se_package="$j2se_vendor-java${j2se_release}u$j2se_update-jdk"
j2se_name="jdk-${j2se_release}u$j2se_update-$j2se_vendor-$j2se_arch"
local target="$package_dir/$j2se_name"
install -d -m 755 "$( dirname "$target" )"
extract_bin "$archive_path" "$j2se_expected_min_size" "$target"
@@ -42,8 +42,8 @@ j2re_run() {
echo
diskfree "$j2se_required_space"
read_maintainer_info
j2se_package="$j2se_vendor-java$j2se_release-jre"
j2se_name="jre-$j2se_release-$j2se_vendor-$j2se_arch"
j2se_package="$j2se_vendor-java${j2se_release}u$j2se_update-jre"
j2se_name="jre-${j2se_release}u$j2se_update-$j2se_vendor-$j2se_arch"
local target="$package_dir/$j2se_name"
install -d -m 755 "$( dirname "$target" )"
extract_bin "$archive_path" "$j2se_expected_min_size" "$target"

0 comments on commit 9644c41

Please sign in to comment.