Bug 655925
| Summary: | Broken ttmkfdir test? | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jerry James <loganjerry> |
| Component: | xorg-x11-font-utils | Assignee: | Peter Hutterer <peter.hutterer> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | fonts-bugs, xgl-maint |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-24 05:23:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
script test fixed as suggested, the fonts that need ttmkfdir already have the requires anyway http://koji.fedoraproject.org/koji/buildinfo?buildID=206248 xorg-x11-font-utils-7.4-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/xorg-x11-font-utils-7.4-3.fc14 xorg-x11-font-utils-7.2-12.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/xorg-x11-font-utils-7.2-12.fc13 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. |
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 /usr/share/X11/fonts/encodings / / 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 ttmkfdir $fontdir fi 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): xorg-x11-font-utils-7.5-3.fc15.x86_64 How reproducible: Always Steps to Reproduce: 1. Make sure ttmkfdir is not installed. 2. Run /usr/bin/xorg-x11/fonts-update-dirs Actual results: The error message reported above. Expected results: ttmkfdir should not have been run. Additional info: