Bug#403641: tetex-base: postrm fails if just unpackaged.
Florent Rougon <f.rougon@free.fr> wrote:
> In fact, this problem is taken care of by the dh_installtex snippets,
> and the approach is closer to "ignore errors but display a warning" than
> to "run the commands iff tex-common is configured, not ignoring errors":
>
> ,----[ From lmodern's current postrm ]
> | case "$1" in
> | remove|disappear)
> | dhit_check_run_without_errors -silent update-updmap --quiet
> | dhit_check_run_without_errors -silent update-language
> | dhit_check_run_without_errors -silent update-fmtutil
Why is --quiet only used for update-updmap? It's the same script behind
the three, and with "-v" it always says
${progname}'s -v option is deprecated. The default mode of operation will
be verbose as soon as enough packages use the --quiet option. Please update
your scripts accordingly.\n\n" >&2; quiet=0; shift ;;
> Maybe tetex-base should do the same, or something similar.
I've just copied dhit_... to postrm.functions. I still need to check
how the other run_if_exist calls perform if tex-common isn't
configured.
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: