diff options
| author | Jack Nagel | 2013-11-20 14:24:06 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-20 14:31:04 -0600 |
| commit | dd3a08c6682c550c8944df7d8a14053085ae7e13 (patch) | |
| tree | 27509941f765564a5686cc9ec1139b112ba71390 /Library/Formula | |
| parent | 28c9e3b866d6c19b2cb01d5e6a3df88c9a3f6da2 (diff) | |
| download | homebrew-dd3a08c6682c550c8944df7d8a14053085ae7e13.tar.bz2 | |
fontconfig: regenerate font cache post-install
Fixes #24526.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fontconfig.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/fontconfig.rb b/Library/Formula/fontconfig.rb index 26800e30f..3693e0014 100644 --- a/Library/Formula/fontconfig.rb +++ b/Library/Formula/fontconfig.rb @@ -22,8 +22,13 @@ class Fontconfig < Formula ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--disable-silent-rules", - "--with-add-fonts=/Library/Fonts,~/Library/Fonts", - "--prefix=#{prefix}" + "--with-add-fonts=/System/Library/Fonts,/Library/Fonts,~/Library/Fonts", + "--prefix=#{prefix}", + "--localstatedir=#{var}" system "make install" end + + def post_install + system "#{bin}/fc-cache", "-frv" + end end |
