blob: 8e3ff0ee0ac7b9f1b263e58642bd2c592fc479b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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/jre7-openjdk.sh"
# update-desktop-database -q
}
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
# update-desktop-database -q
}
post_remove() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
# update-desktop-database -q
}
|