mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
918fcfd325
Now the package is named just "openjdk". This should hopefully make for easier replacements with newer major releases of OpenJDK.
19 lines
436 B
Plaintext
19 lines
436 B
Plaintext
post_install() {
|
|
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
|
|
if [ ! -f /etc/ssl/certs/java/cacerts ]; then
|
|
/usr/sbin/init-jks-keystore
|
|
fi
|
|
echo "When you use a non-reparenting window manager"
|
|
echo "set _JAVA_AWT_WM_NONREPARENTING=1 in the relevant"
|
|
echo "/etc/profile.d/openjdk7.* file."
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
|
|
post_remove() {
|
|
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
|
|
}
|