Re: Fonts scriptlet for CORE packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



panemade@xxxxxxxxx (""Parag N(~~~

Attachment: pgp9FRv1dGo8R.pgp
Description: PGP signature

〓)"") 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

Attachment: pgp5cAXukKAbH.pgp
Description: PGP signature

--
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

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux