call update-fmtutil with --quiet
Norbert Preining
8 years ago
64 | 64 |
# present (config files are installed at config time!)
|
65 | 65 |
# So we have to check for the existence of this file
|
66 | 66 |
# 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
|
70 | 70 |
if which mktexlsr >/dev/null; then update_lsr_files; fi
|
71 | 71 |
# tetex might be unpacked but not configured, we have to check
|
72 | 72 |
# whether /etc/texmf/texmf.cnf already exists. The following check
|
|
74 | 74 |
# 2) whether tex-common is configured.
|
75 | 75 |
if kpsewhich texmf.cnf > /dev/null 2>&1 ; then
|
76 | 76 |
build_format_if_format_exists --byfmt texinfo
|
77 | |
build_format_if_format_exists --byfmt cyrtexinfo
|
78 | 77 |
fi
|
79 | 78 |
;;
|
80 | 79 |
*)
|
44 | 44 |
case "$1" in
|
45 | 45 |
remove|disappear)
|
46 | 46 |
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
|
49 | 48 |
check_run_without_errors mktexlsr /usr/share/texmf /var/lib/texmf
|
50 | 49 |
;;
|
51 | 50 |
purge|upgrade|failed-upgrade|abort-upgrade|abort-install)
|