[Git][java-team/ca-certificates-java][master] [ Vladimir Petko ]

Matthias Klose (@doko) gitlab at salsa.debian.org
Tue Jun 20 05:13:53 BST 2023



Matthias Klose pushed to branch master at Debian Java Maintainers / ca-certificates-java


Commits:
561054ed by Matthias Klose at 2023-06-20T06:13:02+02:00
  [ Vladimir Petko ]
  * d/ca-certificates-java.postinst: Work-around not yet configured jre.

- - - - -


2 changed files:

- debian/ca-certificates-java.postinst
- debian/changelog


Changes:

=====================================
debian/ca-certificates-java.postinst
=====================================
@@ -31,6 +31,13 @@ setup_path()
 			if [ -x /usr/lib/jvm/$jvm/bin/java ]; then
 				export JAVA_HOME=/usr/lib/jvm/$jvm
 				PATH=$JAVA_HOME/bin:$PATH
+				# copy java.security to allow import to function
+				security_conf=/etc/java-${version}-openjdk/security
+				if [ -f ${security_conf}/java.security.dpkg-new ] \
+					&& [ ! -f ${security_conf}/java.security ]; then
+						cp ${security_conf}/java.security.dpkg-new \
+							${security_conf}/java.security
+				fi
 				break 2
 			fi
 		done


=====================================
debian/changelog
=====================================
@@ -1,10 +1,13 @@
-ca-certificates-java (20230614) UNRELEASED; urgency=medium
+ca-certificates-java (20230620) unstable; urgency=medium
 
   [ Matthias Klose ]
   * Bump standards version.
   * Build-depend on default-jdk-headless instead of default-jdk.
 
- -- Matthias Klose <doko at debian.org>  Wed, 14 Jun 2023 09:15:15 +0200
+  [ Vladimir Petko ]
+  * d/ca-certificates-java.postinst: Work-around not yet configured jre.
+
+ -- Matthias Klose <doko at debian.org>  Tue, 20 Jun 2023 06:09:44 +0200
 
 ca-certificates-java (20230103) unstable; urgency=medium
 



View it on GitLab: https://salsa.debian.org/java-team/ca-certificates-java/-/commit/561054ed46afe59b5996974e168418362c872d20

-- 
View it on GitLab: https://salsa.debian.org/java-team/ca-certificates-java/-/commit/561054ed46afe59b5996974e168418362c872d20
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20230620/b0c8b4de/attachment.htm>


More information about the pkg-java-commits mailing list