Description of problem:
Doing updates on my Rawhide machine this morning, I got this in the output:
Updating : xorg-x11-fonts-misc-7.5-3.fc15.noarch 49/100
/usr/bin/xorg-x11-fonts-update-dirs: line 46: ttmkfdir: command not found
First, this wouldn't happen if the package had a Requires on ttmkfdir, which the xorg-x11-fonts-update-dirs script can invoke. Second, it looks like the test for whether to run ttmkfdir is backwards:
if [ "$need_ttmkfdir" != "yes" ]; then
So if "need_ttmkfdir" is "no", then we run ttmkfdir. Note that the "skip_fontscale" test just above this one is similarly backwards.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure ttmkfdir is not installed.
2. Run /usr/bin/xorg-x11/fonts-update-dirs
The error message reported above.
ttmkfdir should not have been run.
script test fixed as suggested, the fonts that need ttmkfdir already have the requires anyway
xorg-x11-font-utils-7.4-3.fc14 has been submitted as an update for Fedora 14.
xorg-x11-font-utils-7.2-12.fc13 has been submitted as an update for Fedora 13.
xorg-x11-font-utils-7.4-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
xorg-x11-font-utils-7.2-12.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.