Bug 38227 - post-install script 'fonts.dir' bug
post-install script 'fonts.dir' bug
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: ttfonts (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
: 33118 38874 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-28 22:37 EDT by Michael Schwendt
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-30 04:40:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch against spec file (363 bytes, patch)
2001-04-28 22:44 EDT, Michael Schwendt
no flags Details | Diff

  None (edit)
Description Michael Schwendt 2001-04-28 22:37:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.19 i686; en-US; rv:0.8.1+)
Gecko/20010425


The order of the commands in the rpm's post-install script is incorrect.

Reproducible: Always
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'.
Comment 1 Michael Schwendt 2001-04-28 22:44:27 EDT
Created attachment 16765 [details]
patch against spec file
Comment 2 Mike A. Harris 2001-04-30 04:40:35 EDT
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
upgrade.

Thanks mschwendt@web.de for tracking this down.
Comment 3 Bernhard Rosenkraenzer 2001-04-30 09:55:17 EDT
Fixed in 1.0-4
Comment 4 Bernhard Rosenkraenzer 2001-05-03 05:15:33 EDT
*** Bug 38874 has been marked as a duplicate of this bug. ***
Comment 5 Bernhard Rosenkraenzer 2001-05-03 05:15:58 EDT
*** Bug 33118 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.