summaryrefslogtreecommitdiff
path: root/libre/glib2-static/gio-querymodules.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre/glib2-static/gio-querymodules.hook')
-rw-r--r--libre/glib2-static/gio-querymodules.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/glib2-static/gio-querymodules.hook b/libre/glib2-static/gio-querymodules.hook
new file mode 100644
index 000000000..193233398
--- /dev/null
+++ b/libre/glib2-static/gio-querymodules.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/gio/modules/*.so
+
+[Action]
+Description = Updating GIO module cache...
+When = PostTransaction
+Exec = /usr/bin/gio-querymodules /usr/lib/gio/modules