summarylogtreecommitdiffstats
path: root/liberica-nik-23-full.install
diff options
context:
space:
mode:
authorElvis Parsaloi2025-04-30 13:57:06 +0300
committerElvis Parsaloi2025-04-30 13:57:06 +0300
commit2c29e028e1b712029196eef71ab2aaa8adfd402f (patch)
treea7c16fdc7a8030fbf9973b11032410a29a42c3fe /liberica-nik-23-full.install
downloadaur-liberica-nik-23-full-bin.tar.gz
Initial commit for liberica-nik-23-full-bin
Diffstat (limited to 'liberica-nik-23-full.install')
-rw-r--r--liberica-nik-23-full.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/liberica-nik-23-full.install b/liberica-nik-23-full.install
new file mode 100644
index 000000000000..9dc46fc07074
--- /dev/null
+++ b/liberica-nik-23-full.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo "==> Linking JKS keystore to system-wide ca-certificates"
+ ln -sf /etc/ssl/certs/java/cacerts /usr/lib/jvm/liberica-nik-23-full/lib/security/cacerts
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ echo "==> Removing JKS keystore link"
+ rm -f /usr/lib/jvm/liberica-nik-23-full/lib/security/cacerts
+}