Bug 181049
Summary: | fonts-chinese's postinstall has mistake(fonts-chinese-3.02-4.1) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miao ZhiCheng <hellwolf.misty> | ||||
Component: | fonts-chinese | Assignee: | Caius Chance <K9> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5 | CC: | eng-i18n-bugs, phil | ||||
Target Milestone: | --- | Keywords: | EasyFix, i18n | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.02-7.fc6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-05-03 07:37:27 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: | |||||||
Attachments: |
|
Description
Miao ZhiCheng
2006-02-12 11:51:07 UTC
Sounds resaonable. Modified and in progress of testing. I suggest rewriting the above as a for loop to avoid this kind of potential problem repeating. Created attachment 135620 [details]
proposed modified .spec file
Modified. Proposed after feedback lines during install on test machine:
+ umask 133
+ for tmpfontdir in /usr/share/fonts/chinese/TrueType
/usr/share/fonts/chinese/misc
+ touch /usr/share/fonts/chinese/TrueType
+ /usr/bin/ttmkfdir -d /usr/share/fonts/chinese/TrueType -o
/usr/share/fonts/chinese/TrueType/fonts.scale
+ mkfontdir /usr/share/fonts/chinese/TrueType
+ /usr/sbin/chkfontpath -q -a /usr/share/fonts/chinese/TrueType
+ for tmpfontdir in /usr/share/fonts/chinese/TrueType
/usr/share/fonts/chinese/misc
+ touch /usr/share/fonts/chinese/misc
+ /usr/bin/ttmkfdir -d /usr/share/fonts/chinese/misc -o
/usr/share/fonts/chinese/misc/fonts.scale
+ mkfontdir /usr/share/fonts/chinese/misc
+ /usr/sbin/chkfontpath -q -a /usr/share/fonts/chinese/misc
+ '[' -x /usr/bin/fc-cache ']'
+ /usr/bin/fc-cache
The following package has been built and pending for QC. fonts-chinese-3.02-7.fc6 After QC passed, will backport to fc5. Fixed in fonts-chinese-3.02-7.fc6, built and pushed. |