Hi, On 3/3/07, Enrico Scholz <enrico.scholz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
panemade@xxxxxxxxx (""Parag N(~~~ 〓)"") 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} || :
Thanks all for your comments here. So i can take above way of writing a scriptlet for Core X11 font packages right? Regards, Parag. -- Fedora-maintainers mailing list Fedora-maintainers@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers -- Fedora-maintainers-readonly mailing list Fedora-maintainers-readonly@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly