Red Hat Bugzilla – Bug 38227
post-install script 'fonts.dir' bug
Last modified: 2008-05-01 11:38:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.19 i686; en-US; rv:0.8.1+)
The order of the commands in the rpm's post-install script is incorrect.
Steps to Reproduce:
1. rpm -e ttfonts
2. rpm -ivvh ttfonts
3. ls -la /usr/share/fonts/default/TrueType/fonts.dir
Actual Results: The 'fonts.dir' created by 'mkfontdir' in the rpm's
post-install script is empty (2 bytes).
Expected Results: A valid 'fonts.dir'.
Created attachment 16765 [details]
patch against spec file
Bero, I just checked this, and it does seem to fix the problem. I think this
might solve a lot of the Truetype font problems people have been having.
Please apply the patch and test on a clean system with no ttfonts and on
Thanks email@example.com for tracking this down.
Fixed in 1.0-4
*** Bug 38874 has been marked as a duplicate of this bug. ***
*** Bug 33118 has been marked as a duplicate of this bug. ***