summarylogtreecommitdiffstats
path: root/fontconfig-git.hook
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig-git.hook')
-rw-r--r--fontconfig-git.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/fontconfig-git.hook b/fontconfig-git.hook
new file mode 100644
index 000000000000..0f24bc4e86f2
--- /dev/null
+++ b/fontconfig-git.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/fonts/*
+
+[Action]
+Description = Updating fontconfig cache...
+When = PostTransaction
+Exec = /usr/bin/fc-cache -s