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