aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk+/gtk+.trigger
blob: af2abb72782776d584f69c3435045201c8cd37e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

loaders=
for i in "$@"; do
	case "$i" in
		/usr/lib/gtk-2.0/2.10.0/loaders)
			loaders=1
			;;
		/usr/share/icons/*)
			gtk-update-icon-cache -q -t -f $i
			;;
	esac
done

if [ -n "$loaders" ]; then
	gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
fi