summaryrefslogtreecommitdiffstats
path: root/abs/core/glib2/glib-compile-schemas.hook
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/glib2/glib-compile-schemas.hook')
-rw-r--r--abs/core/glib2/glib-compile-schemas.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/glib2/glib-compile-schemas.hook b/abs/core/glib2/glib-compile-schemas.hook
new file mode 100644
index 0000000..04dc59b
--- /dev/null
+++ b/abs/core/glib2/glib-compile-schemas.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/glib-2.0/schemas/*.gschema.xml
+Target = usr/share/glib-2.0/schemas/*.gschema.override
+
+[Action]
+Description = Compiling GSettings XML schema files...
+When = PostTransaction
+Exec = /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas