Bug 172268
Summary: | tetex-font-cm-lgc - bad %post and %postun scripts | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
Component: | tetex-font-cm-lgc | Assignee: | Sarantis Paskalis <paskalis> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | extras-qa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tetex-font-cm-lgc-0.5.4.fc4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-02 11:42:49 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: |
Description
Michal Jaegermann
2005-11-02 05:19:03 UTC
Explicit outputdirs removed from %post and %postun. The --enable and --disable options are mandatory when installing/removing the map, because change to the updmap.cfg is required. Without them, the updmap.cfg is not changed and the changes are not propagated to psfonts.map, pdftex.map, etc. The --nohash switch is needed to not run texhash twice. My half-baked approach to clean up the spec file removed the texhash command before updmap-sys, but keeping the nohash switch. I discovered that running texhash before updmap-sys is necessary when installing a map, because updmap-sys uses that information to locate the map file. So, the correct procedure (in %post) is to run texhash, and then updmap-sys. Running updmap-sys without --nohash runs texhash for a second time, when no new files are added (only the psfonts.map, pdftex.map, etc are _changed_). (also fixed tetex-font-kerkis) tetex-font-cm-lgc-0.5.4.fc4 just built on the buildsystem. |