summaryrefslogtreecommitdiffstats
path: root/abs/extra/java7-openjdk/jre7-openjdk-headless.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/java7-openjdk/jre7-openjdk-headless.install')
-rw-r--r--abs/extra/java7-openjdk/jre7-openjdk-headless.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/java7-openjdk/jre7-openjdk-headless.install b/abs/extra/java7-openjdk/jre7-openjdk-headless.install
new file mode 100644
index 0000000..45f52fe
--- /dev/null
+++ b/abs/extra/java7-openjdk/jre7-openjdk-headless.install
@@ -0,0 +1,15 @@
+post_install() {
+ if [ ! -f /etc/ssl/certs/java/cacerts ]; then
+ /usr/sbin/init-jks-keystore
+ fi
+}
+
+post_upgrade() {
+ if [ ! -f /etc/ssl/certs/java/cacerts ]; then
+ /usr/sbin/init-jks-keystore
+ fi
+}
+
+#post_remove() {
+#
+#}