summarylogtreecommitdiffstats
path: root/gconf-install.hook
diff options
context:
space:
mode:
authorAntonio Rojas2020-01-02 20:47:38 +0000
committerAntonio Rojas2020-01-02 20:47:38 +0000
commit52b848ec3fbb418e35c8e5bb66e97c43f960d318 (patch)
tree12e38b1e37ae1b9e7afd15411ee30085b96f5182 /gconf-install.hook
downloadaur-52b848ec3fbb418e35c8e5bb66e97c43f960d318.tar.gz
Dropped from repos
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