summarylogtreecommitdiffstats
path: root/fontconfig.hook
diff options
context:
space:
mode:
authorandyrtr2017-11-16 15:39:59 +0000
committerMingye Wang2018-02-28 19:02:22 -0500
commitbfa474c73ceb98a998abc4e4c3d6d0a37685eebe (patch)
treeaacb27df145c32f8dcb4a73de346328214b5dbe7 /fontconfig.hook
downloadaur-bfa474c73ceb98a998abc4e4c3d6d0a37685eebe.tar.gz
db-move: moved fontconfig from [testing] to [extra] (x86_64)
git-svn-id: file:///srv/repos/svn-packages/svn@310060 eb2447ed-0c53-47e4-bac8-5bc4a241df78
Diffstat (limited to 'fontconfig.hook')
-rw-r--r--fontconfig.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/fontconfig.hook b/fontconfig.hook
new file mode 100644
index 000000000000..0f24bc4e86f2
--- /dev/null
+++ b/fontconfig.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