blob: ae4e089cb9343a45cf6a0a6098d7386f17cfce36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
ggz-config -i -f -m usr/share/ggz/kbattleship.dsc >& /dev/null
}
pre_remove() {
if [ -f usr/share/ggz/kbattleship.dsc ]; then
ggz-config -r -m usr/share/ggz/kbattleship.dsc >& /dev/null
fi
}
pre_upgrade() {
pre_remove
}
post_upgrade() {
post_install
}
post_remove() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
|