[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texinfo] 02/03: call update-fmtutil with --quiet



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texinfo.

commit 87b38ccfd34e801e1d9198ed2c97a7685755840a
Author: Norbert Preining <preining@debian.org>
Date:   Mon Jun 1 08:52:29 2015 +0900

    call update-fmtutil with --quiet
---
 debian/texinfo.postinst | 7 +++----
 debian/texinfo.postrm   | 3 +--
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/texinfo.postinst b/debian/texinfo.postinst
index 5a83c87..a87bfde 100644
--- a/debian/texinfo.postinst
+++ b/debian/texinfo.postinst
@@ -65,9 +65,9 @@ case "$1" in
 	# present (config files are installed at config time!)
 	# So we have to check for the existence of this file
 	# before we can call update-fmtutil
-	if [ -r /etc/texmf/fmt.d/00tex.cnf ] ; then
-	    if which update-fmtutil > /dev/null ; then update-fmtutil ; fi
-	fi
+	#if [ -r /etc/texmf/fmt.d/00tex.cnf ] ; then
+	    if which update-fmtutil > /dev/null ; then update-fmtutil --quiet ; fi
+	#fi
 	if which mktexlsr >/dev/null; then update_lsr_files; fi
 	# tetex might be unpacked but not configured, we have to check
 	# whether /etc/texmf/texmf.cnf already exists. The following check
@@ -75,7 +75,6 @@ case "$1" in
 	# 2) whether tex-common is configured.
 	if kpsewhich texmf.cnf > /dev/null 2>&1 ; then 
 	    build_format_if_format_exists --byfmt texinfo
-	    build_format_if_format_exists --byfmt cyrtexinfo
 	fi
 	;;
     *)
diff --git a/debian/texinfo.postrm b/debian/texinfo.postrm
index a61427c..b8675e4 100644
--- a/debian/texinfo.postrm
+++ b/debian/texinfo.postrm
@@ -45,8 +45,7 @@ update_lsr_files ()
 case "$1" in
     remove|disappear)
         rm -f /var/lib/texmf/web2c/texinfo.*
-        rm -f /var/lib/texmf/web2c/cyrtexinfo.*
-        check_run_without_errors update-fmtutil
+        check_run_without_errors update-fmtutil --quiet
         check_run_without_errors mktexlsr /usr/share/texmf /var/lib/texmf
     ;;
     purge|upgrade|failed-upgrade|abort-upgrade|abort-install)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texinfo.git


Reply to: