Bug#334747: updmap-sys --syncwithtrees
Frank Küster <frank@debian.org> wrote:
> In fact, but maybe the script can catch up. For --edit, the code in
> updmap is simply
>
> edit)
> ${VISUAL-${EDITOR-vi}} $cnfFile;;
>
> I think we should replace the code with a message that we cannot guess
> which file the user wants to edit, and point him to the directory (maybe
> with a listing).
Agreed.
> With the syncwithtrees option, updmap creates a sed script and then runs
> sed with that script over the conffile. I think if sed does not find a
> match it silently skips the command, so we could simply run the sed
> command iteratively over all files we have found (with the mechanisms
> already present), and then reexecute updmap.
Hmmm, you are obviously trying your best to have these commands work on
Debian, but is it really a good idea here? For instance, if tetex-extra
is removed-but-not-purged and you use --syncwithtrees, you will
effectively comment out every line of 20tetex-extra.cfg.
Personally, I think I would not care about all that and simply tell them
to edit the files under /etc/texmf/updmap.d/...
--
Florent
Reply to: