From a38a676d2703207a28f91aac8dccfb32fe9d285c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 9 Oct 2010 13:33:19 +0000 Subject: main/glib: trigger for gio modules --- main/glib/glib.trigger | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'main/glib/glib.trigger') diff --git a/main/glib/glib.trigger b/main/glib/glib.trigger index 181878d06..04b9f5bd4 100644 --- a/main/glib/glib.trigger +++ b/main/glib/glib.trigger @@ -1,4 +1,13 @@ #!/bin/sh -/usr/bin/glib-compile-schemas "$@" +for i in "$@"; do + case "$i" in + */modules) + /usr/bin/gio-querymodules "$i" + ;; + */schemas) + /usr/bin/glib-compile-schemas "$i" + ;; + esac +done -- cgit v1.2.3