summarylogtreecommitdiffstats
path: root/fontconfig-git.hook
diff options
context:
space:
mode:
authorVincent Grande2018-11-02 00:33:53 -0400
committerVincent Grande2018-11-02 00:33:53 -0400
commitbdcb227e7ec1a62f0879fd7a6f405ad627ee7799 (patch)
tree50293fb47edeb9cea6a7e705aab9b104f8e71fe2 /fontconfig-git.hook
parent733df749d8306bf15d40f6247538885068fcbf63 (diff)
downloadaur-bdcb227e7ec1a62f0879fd7a6f405ad627ee7799.tar.gz
finally got this working, more to come
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