summarylogtreecommitdiffstats
path: root/glib-compile-schemes.hook
diff options
context:
space:
mode:
Diffstat (limited to 'glib-compile-schemes.hook')
-rw-r--r--glib-compile-schemes.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/glib-compile-schemes.hook b/glib-compile-schemes.hook
new file mode 100644
index 00000000000..04dc59b1a63
--- /dev/null
+++ b/glib-compile-schemes.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