summaryrefslogtreecommitdiff
path: root/harmony/glib/glib.trigger
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-01 14:29:09 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-01 14:29:09 -0600
commit9ff5454e7495f78da016bde184e76881e3c183b3 (patch)
tree58124db894edcbb1d665612633f16566417fc727 /harmony/glib/glib.trigger
parent471f8326818e66d3198631518225a87267b6f8da (diff)
downloadpackages-9ff5454e7495f78da016bde184e76881e3c183b3.tar.gz
packages-9ff5454e7495f78da016bde184e76881e3c183b3.tar.bz2
packages-9ff5454e7495f78da016bde184e76881e3c183b3.tar.xz
packages-9ff5454e7495f78da016bde184e76881e3c183b3.zip
harmony/glib: poach this from old aports fork
Diffstat (limited to 'harmony/glib/glib.trigger')
-rw-r--r--harmony/glib/glib.trigger16
1 files changed, 16 insertions, 0 deletions
diff --git a/harmony/glib/glib.trigger b/harmony/glib/glib.trigger
new file mode 100644
index 000000000..cf23eff7d
--- /dev/null
+++ b/harmony/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
+