summarylogtreecommitdiffstats
path: root/40-fontconfig-config.hook
diff options
context:
space:
mode:
Diffstat (limited to '40-fontconfig-config.hook')
-rw-r--r--40-fontconfig-config.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/40-fontconfig-config.hook b/40-fontconfig-config.hook
new file mode 100644
index 000000000000..41c058cd66c2
--- /dev/null
+++ b/40-fontconfig-config.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Remove
+Target = usr/share/fontconfig/conf.default/*
+
+[Action]
+Description = Updating fontconfig configuration...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/40-fontconfig-config /etc/fonts/conf.d
+NeedsTargets