Re: updmap vs updmap-sys
Ralf Stubner <ralf.stubner@physik.uni-erlangen.de> wrote:
> 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)?
No, not a stop point. But we can delay the message - just set a
variable "SHOW_UID_WARNING" and test for it at the end.
> 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.
in patch-deb:
$ export QUILT_PATCHES=./debian/patches
$ quilt push patch-deb
$ $EDITOR texk/tetex/updmap
$ quilt refresh
$ quilt pop -a # or debian/rules clean
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: