Fonts scriptlet for CORE packages

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Sat Mar 3 10:36:42 UTC 2007


panemade at gmail.com (""Parag N(~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20070303/f76b81dc/attachment.sig>
-------------- next part --------------
?)"") writes:

>    touch %{ttfontdir} 2> /dev/null && {
>        /usr/bin/ttmkfdir -d %{ttfontdir} -o %{ttfontdir}/fonts.scale
>        mkfontdir %{ttfontdir}
>        /usr/sbin/chkfontpath -q -a %{ttfontdir}
>    }
>    mkfontdir %{bmpfontdir} && /usr/sbin/chkfontpath -q -a %{bmpfontdir}

This should expressed in a way that it does not fail when /usr is mounted
read-only.

E.g.

| ! touch %ttfontdir 2>/dev/null || { ...
| mkfontdir %{bmpfontdir} && /usr/sbin/chkfontpath -q -a %{bmpfontdir} || :



Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20070303/f76b81dc/attachment-0001.sig>


More information about the Fedora-maintainers mailing list