summarylogtreecommitdiffstats
path: root/fontconfig-ttf.hook
blob: 24d3596b83925aed00d58b1dce876753c5fa4250 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/fonts/TTF/*

[Action]
Description = Updating TTF fonts...
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/fc-cache -fs; /usr/bin/mkfontscale usr/share/fonts/TTF; /usr/bin/mkfontdir usr/share/fonts/TTF'