PKGBUILDs/extra/openjdk6/openjdk6.install

25 lines
639 B
Text
Raw Normal View History

2011-02-21 21:10:11 +00:00
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"
echo "/etc/profile.d/openjdk6.sh"
2011-03-05 00:24:56 +00:00
# update-desktop-database -q
2011-02-21 21:10:11 +00:00
}
post_upgrade() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
if [ ! -f /etc/ssl/certs/java/cacerts ]; then
/usr/sbin/init-jks-keystore
fi
2011-03-05 00:24:56 +00:00
# update-desktop-database -q
2011-02-21 21:10:11 +00:00
}
post_remove() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
2011-03-05 00:24:56 +00:00
# update-desktop-database -q
2011-02-21 21:10:11 +00:00
}