Julien Cristau <[EMAIL PROTECTED]> writes: > On Sun, Jul 13, 2008 at 22:13:27 -0700, Russ Allbery wrote: >> [EMAIL PROTECTED] 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. See, I thought that too, and then I tried it and it seemed to work fine. Maybe my test was wrong? -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]