summarylogtreecommitdiffstats
path: root/gconf-install.hook
diff options
context:
space:
mode:
Diffstat (limited to 'gconf-install.hook')
-rw-r--r--gconf-install.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/gconf-install.hook b/gconf-install.hook
new file mode 100644
index 000000000000..999185458bf4
--- /dev/null
+++ b/gconf-install.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/share/gconf/schemas/*.schemas
+
+[Action]
+Description = Installing GConf schemas...
+When = PostTransaction
+Exec = /bin/bash -c 'while read -r f; do f=$(basename "$f" .schemas); /usr/bin/gconfpkg --install $f; done'
+NeedsTargets