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

updmap vs updmap-sys (was: xpdf und kpdf zeigt meine Schriften nicht an)



Frank Küster <frank@kuesterei.ch> writes on d.c.t.t:
[...]
> Als root solltest du *updmap-sys* aufrufen!

Translation: When you are root you ought to run *updmap-sys*!

Currently updmap and fmtutil have a uid check. If I understood it
correctly, this uid check is supposed to be removed when all packages
have updated their maintainer scripts. The problem is how to educate the
users during this time. I haven't tested it with fmtutil, but updmap
creates lots of output. So this message in the beginning is simply lost.
Would it be possible to repeat this message near/at the end? Or make it
a 'stop point' requiring interaction from the user (probably not good
for other packages)?

BTW, in updmap from tetex-bin 3.0-7.0.sarge1 it says:

if [ ! "$progname" = "updmap-sys" ]; then
                      ^^^^^^^^^^
  echo
  echo "Warning: fmtutil is being run as root; fmtutil-sys should probably be"
                 ^^^^^^^                       ^^^^^^^^^^^
  echo "used instead.  If this is done by a Debian package upon installation,"
  echo "upgrade, or removal, please file a bug against that package."
  echo
  exec updmap-sys ${1+"$@"}
       ^^^^^^^^^^

which is a bit confusing. I am not sure if this is still the case, as I
haven't found where this is actualy added. 

cheerio
ralf



Reply to: