summarylogtreecommitdiffstats
path: root/gconf-remove.hook
diff options
context:
space:
mode:
authorBrian Bidulock2016-05-30 00:42:44 -0600
committerBrian Bidulock2016-05-30 00:42:44 -0600
commit9844b3d3d6d07d6447fb7b190e868b3b52a52e48 (patch)
tree583fd7affcfbf0e13dff7c5bd2f9f5b9d0dd1e70 /gconf-remove.hook
parent97d2d8caec20fe9d8ddc3821b55e8ab6b4090f87 (diff)
downloadaur-9844b3d3d6d07d6447fb7b190e868b3b52a52e48.tar.gz
version 3.2.6-4
Diffstat (limited to 'gconf-remove.hook')
-rw-r--r--gconf-remove.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/gconf-remove.hook b/gconf-remove.hook
new file mode 100644
index 000000000000..8206d1e29d83
--- /dev/null
+++ b/gconf-remove.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = usr/share/gconf/schemas/*.schemas
+
+[Action]
+Description = Uninstalling GConf schemas...
+When = PreTransaction
+Exec = /bin/bash -c 'while read -r f; do f=$(basename "$f" .schemas); /usr/bin/gconfpkg --uninstall $f; done'
+NeedsTargets