summaryrefslogtreecommitdiff
path: root/kde-unstable/kdegames/kdegames-kreversi.install
blob: 4623e6e49db601ae1b9999fb29f4e0266e6b59e9 (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/kreversi.dsc >& /dev/null
}

pre_remove() {
	if [ -f usr/share/ggz/kreversi.dsc ]; then
		ggz-config -r -m usr/share/ggz/kreversi.dsc >& /dev/null
	fi
}

pre_upgrade() {
	pre_remove
}

post_upgrade() {
	post_install
}

post_remove() {
	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}