]> git.sven.stormbind.net Git - sven/java-package.git/commitdiff
Adjusted the disk space required to unpack the Java 8 documentation
authorEmmanuel Bourg <ebourg@apache.org>
Thu, 29 Aug 2013 12:40:15 +0000 (14:40 +0200)
committerEmmanuel Bourg <ebourg@apache.org>
Thu, 29 Aug 2013 15:02:38 +0000 (17:02 +0200)
debian/changelog
lib/oracle-jdk-doc.sh

index 399d810c6b9b2af5cd3d39d6c1d3b718b0711bd0..465393edd0e8bee16e1c9e25f0c984a896f63b1e 100644 (file)
@@ -7,6 +7,7 @@ java-package (0.53) UNRELEASED; urgency=low
     - no longer recommend openjdk-6
     - mention the compatibility with Java 8
   * Removed 'Replaces: ${j2se_package}debian' from the generated control file
+  * Adjusted the disk space required to unpack the Java 8 documentation
 
  -- Emmanuel Bourg <ebourg@apache.org>  Wed, 28 Aug 2013 19:34:41 +0200
 
index 96634deb055688983dc3b552f77da4811850347d..3215b26eee2d07eb86d38a47e50917435e1f0d44 100644 (file)
@@ -6,14 +6,18 @@ oracle_j2sdk_doc_detect() {
     j2se_release=${BASH_REMATCH[1]}
     j2se_update=${BASH_REMATCH[2]}
     j2se_version=${j2se_release}u${j2se_update}
-    
+
     case "$j2se_release" in
     6) # JDK 6
       j2se_expected_min_size=44 #Mb
       ;;
-    *) # JDK 7 and higher
+    7) # JDK 7
       j2se_expected_min_size=290 #Mb
       ;;
+    *) # JDK 8 and higher
+      j2se_expected_min_size=320 #Mb
+      ;;
+
     esac
 
     cat << EOF