summarylogtreecommitdiffstats
path: root/fc-cache-ib.hook
diff options
context:
space:
mode:
Diffstat (limited to 'fc-cache-ib.hook')
-rw-r--r--fc-cache-ib.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/fc-cache-ib.hook b/fc-cache-ib.hook
new file mode 100644
index 000000000000..09d354c37943
--- /dev/null
+++ b/fc-cache-ib.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/fonts/*
+
+[Action]
+Description = Update IU font cache
+When = PostTransaction
+Exec = /usr/bin/fc-cache --system-only
+NeedsTargets