https://bugzilla.redhat.com/show_bug.cgi?id=1021755

            Bug ID: 1021755
           Summary: Use fc-cache /usr/share/fonts/<your font directory>
                    instead of /usr/share/fonts
           Product: Fedora
           Version: 19
         Component: urw-fonts
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]



Description of problem:
Running fc-cache with /usr/share/fonts takes too much time and may breaks the
cache for parents when installing multiple font packages or upgrading
fontconfig, especially sometimes happens on the installation say.
As the macro in fontpackages does, please follow it up and use fc-cache
/usr/share/fonts/<your font directory> instead of /usr/share/fonts.

Version-Release number of selected component (if applicable):
urw-fonts-2.4-15.fc19.noarch

How reproducible:
always

Steps to Reproduce:
1.rpm -q --scripts urw-fonts-2.4-15.fc19.noarch
2.
3.

Actual results:
postinstall scriptlet (using /bin/sh):
{
   umask 133
   mkfontscale /usr/share/fonts/default/Type1 || :
   mkfontdir /usr/share/fonts/default/Type1 || :
   fc-cache /usr/share/fonts
} &> /dev/null || :
postuninstall scriptlet (using /bin/sh):
{
   if [ "$1" = "0" ]; then
      fc-cache /usr/share/fonts
   fi
} &> /dev/null || :

Expected results:
the directory should be /usr/share/fonts/<your font directory> instead

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=QM718HIIpw&a=cc_unsubscribe
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to