summaryrefslogtreecommitdiff
path: root/extra/kdegames/kdegames-ksquares.install
blob: 5a619897d052cb4ab351cff55a759c3ab1511c7a (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/ksquares.dsc >& /dev/null
}

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

pre_upgrade() {
	pre_remove
}

post_upgrade() {
	post_install
}

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