summarylogtreecommitdiffstats
path: root/glib-compile-schemas.hook
diff options
context:
space:
mode:
authorepitron2016-08-26 02:28:59 -0400
committerepitron2016-08-26 02:34:26 -0400
commit3e5da8a5c368f7bbca13f76745b4f8ec00f0bd21 (patch)
treed369e163b6b5bb7f709623d02299adacc8c94a97 /glib-compile-schemas.hook
downloadaur-3e5da8a5c368f7bbca13f76745b4f8ec00f0bd21.tar.gz
First commit
Diffstat (limited to 'glib-compile-schemas.hook')
-rw-r--r--glib-compile-schemas.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/glib-compile-schemas.hook b/glib-compile-schemas.hook
new file mode 100644
index 000000000000..04dc59b1a638
--- /dev/null
+++ b/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