Codebase list texinfo / 87b38cc
call update-fmtutil with --quiet Norbert Preining 8 years ago
2 changed file(s) with 4 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
6464 # present (config files are installed at config time!)
6565 # So we have to check for the existence of this file
6666 # before we can call update-fmtutil
67 if [ -r /etc/texmf/fmt.d/00tex.cnf ] ; then
68 if which update-fmtutil > /dev/null ; then update-fmtutil ; fi
69 fi
67 #if [ -r /etc/texmf/fmt.d/00tex.cnf ] ; then
68 if which update-fmtutil > /dev/null ; then update-fmtutil --quiet ; fi
69 #fi
7070 if which mktexlsr >/dev/null; then update_lsr_files; fi
7171 # tetex might be unpacked but not configured, we have to check
7272 # whether /etc/texmf/texmf.cnf already exists. The following check
7474 # 2) whether tex-common is configured.
7575 if kpsewhich texmf.cnf > /dev/null 2>&1 ; then
7676 build_format_if_format_exists --byfmt texinfo
77 build_format_if_format_exists --byfmt cyrtexinfo
7877 fi
7978 ;;
8079 *)
4444 case "$1" in
4545 remove|disappear)
4646 rm -f /var/lib/texmf/web2c/texinfo.*
47 rm -f /var/lib/texmf/web2c/cyrtexinfo.*
48 check_run_without_errors update-fmtutil
47 check_run_without_errors update-fmtutil --quiet
4948 check_run_without_errors mktexlsr /usr/share/texmf /var/lib/texmf
5049 ;;
5150 purge|upgrade|failed-upgrade|abort-upgrade|abort-install)