core/ca-certificates-java/ca-certificates-java.install

16 lines
221 B
Plaintext
Raw Normal View History

post_install() {
2012-08-01 01:07:13 +08:00
if [ ! -f etc/ssl/certs/java/cacerts ]; then
if which java >/dev/null 2>&1; then
usr/bin/init-jks-keystore
2012-08-01 01:07:13 +08:00
fi
fi
}
post_upgrade() {
2012-08-01 01:07:13 +08:00
post_install
}
post_remove() {
2012-08-01 01:07:13 +08:00
rm -rf etc/ssl/certs/java
}