Mailinglist Archive: opensuse-packaging (109 mails)

< Previous Next >
[opensuse-packaging] Standard way to install a font?
  • From: Paul Elliott <pelliott@xxxxxx>
  • Date: Fri, 26 Oct 2007 12:47:10 -0500
  • Message-id: <20071026174710.GA6595@xxxxxx>

Is there a standard way (a macro perhaps), to install a font?


I have a spec file written by someone else that puts the following in %post:
[ -x /usr/sbin/chkfontpath ] && /usr/sbin/chkfontpath -q -a
%{datadir}/fonts/default/Type1;\
[ -x /usr/sbin/chkfontpath ] && /usr/sbin/chkfontpath -q -a
%{datadir}/fonts/default/Type1/adobestd35;\
[ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache


Is this correct? Works with all distros?

--
Paul Elliott 1(512)837-1096
pelliott@xxxxxx PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
< Previous Next >
This Thread
  • No further messages