post_install() {
	if [ ! -f etc/ssl/certs/java/cacerts ]; then
		if which java >/dev/null 2>&1; then
			usr/bin/init-jks-keystore
		fi
	fi
}

post_upgrade() {
	post_install
}

post_remove() {
	rm -rf etc/ssl/certs/java
}
