Update fontconfig.rb (#5274)

This commit is contained in:
satmandu
2021-02-24 16:42:16 -05:00
committed by GitHub
parent 98a6dd4f1b
commit 749f0c3835

View File

@@ -77,6 +77,8 @@ class Fontconfig < Package
puts 'To complete the installation, execute the following:'.orange puts 'To complete the installation, execute the following:'.orange
puts 'source ~/.bashrc'.orange puts 'source ~/.bashrc'.orange
end end
system "env FONTCONFIG_PATH=#{CREW_PREFIX}/etc/fonts fc-cache -fv" # The following postinstall fails if graphite isn't installed when fontconfig
# is being installed.
system "env FONTCONFIG_PATH=#{CREW_PREFIX}/etc/fonts fc-cache -fv || true"
end end
end end