From 5c6f26b9b0272f82c06dd819e0fb5ce59630dfad Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Thu, 29 Aug 2013 14:40:15 +0200 Subject: [PATCH] Adjusted the disk space required to unpack the Java 8 documentation --- debian/changelog | 1 + lib/oracle-jdk-doc.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 399d810..465393e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 28 Aug 2013 19:34:41 +0200 diff --git a/lib/oracle-jdk-doc.sh b/lib/oracle-jdk-doc.sh index 96634de..3215b26 100644 --- a/lib/oracle-jdk-doc.sh +++ b/lib/oracle-jdk-doc.sh @@ -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 -- 2.39.5