summaryrefslogtreecommitdiff
path: root/system/glib/glib.trigger
blob: cf23eff7d1f647411ea41b0675645e6b4c9c33fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

for i in "$@"; do
	if ! [ -e "$i" ]; then
		continue
	fi
	case "$i" in
	*/modules)
		/usr/bin/gio-querymodules "$i"
		;;
	*/schemas)
		/usr/bin/glib-compile-schemas "$i"
		;;
	esac
done