mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
20 lines
369 B
Text
20 lines
369 B
Text
post_install() {
|
|
if [ ! -f /etc/ssl/certs/java/cacerts ]; then
|
|
for jvm in /usr/lib/jvm/java-1.6.0-openjdk /opt/java/jre; do
|
|
if [ -x $jvm/bin/keytool ]; then
|
|
break
|
|
fi
|
|
done
|
|
if [ -x $jvm/bin/keytool ]; then
|
|
/usr/sbin/init-jks-keystore
|
|
fi
|
|
fi
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
rm -rf /etc/ssl/certs/java
|
|
}
|