diff options
Diffstat (limited to 'user/glib/glib.trigger')
-rw-r--r-- | user/glib/glib.trigger | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/glib/glib.trigger b/user/glib/glib.trigger new file mode 100644 index 000000000..cf23eff7d --- /dev/null +++ b/user/glib/glib.trigger @@ -0,0 +1,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 + |