summarylogtreecommitdiffstats
path: root/gtk2.install
blob: 6315484831dc6a741bc40549ce9f4824f823467f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
	GTK_PATH=/usr/lib32/gtk-2.0 usr/bin/gtk-query-immodules-2.0-32 --update-cache
}

pre_upgrade() {
if (( $(vercmp $2 2.24.20) < 0 )); then
	rm -f /etc/gtk-2.0/gtk.immodules-32
fi
}

post_upgrade() {
	post_install
}

pre_remove() {
	rm -f /usr/lib32/gtk-2.0/2.10.0/immodules.cache
}