summarylogtreecommitdiffstats
path: root/liberica-nik-23-full.install
blob: 9dc46fc070747462d6464d3d30690e092f974383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}