[ca-certificates-java] 47/58: Add support for Java 8 and 9 (Closes: #775775)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed May 31 13:13:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository ca-certificates-java.
commit ff78b5b5cc9b143d1556d3198277ae04100ef352
Author: Benjamin Drung <bdrung at debian.org>
Date: Mon Mar 21 13:24:50 2016 +0000
Add support for Java 8 and 9 (Closes: #775775)
---
debian/jks-keystore.hook.in | 7 ++++++-
debian/postinst.in | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/debian/jks-keystore.hook.in b/debian/jks-keystore.hook.in
index 423966d..7569e61 100644
--- a/debian/jks-keystore.hook.in
+++ b/debian/jks-keystore.hook.in
@@ -35,7 +35,12 @@ if ! mountpoint -q /proc; then
exit 1
fi
-for jvm in java-7-openjdk-$arch java-7-openjdk; do
+for jvm in java-7-openjdk-$arch java-7-openjdk \
+ oracle-java7-jre-$arch oracle-java7-server-jre-$arch oracle-java7-jdk-$arch \
+ java-8-openjdk-$arch java-8-openjdk \
+ oracle-java8-jre-$arch oracle-java8-server-jre-$arch oracle-java8-jdk-$arch \
+ java-9-openjdk-$arch java-9-openjdk \
+ oracle-java9-jre-$arch oracle-java9-server-jre-$arch oracle-java9-jdk-$arch; do
if [ -x /usr/lib/jvm/$jvm/bin/java ]; then
break
fi
diff --git a/debian/postinst.in b/debian/postinst.in
index 44c96e0..f5b3a2e 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -26,7 +26,12 @@ nsslib_name()
setup_path()
{
- for jvm in java-7-openjdk-$arch java-7-openjdk; do
+ for jvm in java-7-openjdk-$arch java-7-openjdk \
+ oracle-java7-jre-$arch oracle-java7-server-jre-$arch oracle-java7-jdk-$arch \
+ java-8-openjdk-$arch java-8-openjdk \
+ oracle-java8-jre-$arch oracle-java8-server-jre-$arch oracle-java8-jdk-$arch \
+ java-9-openjdk-$arch java-9-openjdk \
+ oracle-java9-jre-$arch oracle-java9-server-jre-$arch oracle-java9-jdk-$arch; do
if [ -x /usr/lib/jvm/$jvm/bin/java ]; then
break
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ca-certificates-java.git
More information about the pkg-java-commits
mailing list