aboutsummaryrefslogtreecommitdiffstats
path: root/main/glib/glib.trigger
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-09 13:33:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-09 13:33:53 +0000
commita38a676d2703207a28f91aac8dccfb32fe9d285c (patch)
tree8bbb34e6a9adc08de4a934e8280e64f1b92c5434 /main/glib/glib.trigger
parentf80bd68bd0bd5b47fbf978ee7bd2dbd1901a08ec (diff)
downloadaports-a38a676d2703207a28f91aac8dccfb32fe9d285c.tar.bz2
aports-a38a676d2703207a28f91aac8dccfb32fe9d285c.tar.xz
main/glib: trigger for gio modules
Diffstat (limited to 'main/glib/glib.trigger')
-rw-r--r--main/glib/glib.trigger11
1 files changed, 10 insertions, 1 deletions
diff --git a/main/glib/glib.trigger b/main/glib/glib.trigger
index 181878d067..04b9f5bd42 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