summarylogtreecommitdiffstats
path: root/fc-cache-ib.hook
diff options
context:
space:
mode:
authorErik Dubois2017-04-30 23:11:01 -0400
committerErik Dubois2017-04-30 23:11:01 -0400
commit025afe9e1ab5e4f916b581f504c873ff315ac9d1 (patch)
treefe5b8199ddd6829f630150b71d0f30a0a3a1415a /fc-cache-ib.hook
downloadaur-025afe9e1ab5e4f916b581f504c873ff315ac9d1.tar.gz
initial commit
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