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

Re: font policy changes

On Sun, Jul 13, 2008 at 22:13:27 -0700, Russ Allbery wrote:

> unifoundry@unifoundry.com writes:
> > 3) Even if "mkfontdir" were invoked directly or if it's okay to give
> > "update-fonts-dir" an absolute path (in which case its man page needs to
> > be updated and the warning removed), isn't it also advisable to run
> > "xset fp rehash" in postinst and postrm scripts?  That program is the
> > standard mechanism for updating installed fonts on recent versions of
> > X11, including in Debian and other GNU/Linux distributions.
> Hm.  That's an interesting thought, although it's going to fail if no X
> server is currently running, correct?
It will always fail, because the user running the script (root) won't
normally have access to the X server.


Reply to: