core/openjdk/openjdk.install

19 lines
435 B
Plaintext
Raw Normal View History

post_install() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
if [ ! -f /etc/ssl/certs/java/cacerts ]; then
2014-11-18 22:42:27 +08:00
/usr/bin/init-jks-keystore
fi
echo "When you use a non-reparenting window manager"
echo "set _JAVA_AWT_WM_NONREPARENTING=1 in the relevant"
2015-01-21 06:11:36 +08:00
echo "/etc/profile.d/openjdk8.* file."
}
post_upgrade() {
post_install
}
post_remove() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
}