summaryrefslogtreecommitdiff
path: root/repo/glib/glib.trigger
blob: e042aacf4f630d4cb27a17a737a325644dbb3c47 (plain)
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|*gtk-4.0)
		/usr/bin/gio-querymodules "$i"
		;;
	*/schemas)
		/usr/bin/glib-compile-schemas "$i"
		;;
	esac
done