[subversion-commit] SVN tex-common commit + diffs: r1257 - in
tex-common/trunk: debian scripts
Norbert Preining
preining-guest at costa.debian.org
Sat Apr 29 12:21:22 UTC 2006
Author: preining-guest
Date: 2006-04-29 12:21:19 +0000 (Sat, 29 Apr 2006)
New Revision: 1257
Modified:
tex-common/trunk/debian/changelog
tex-common/trunk/scripts/postrm-tex
Log:
* Make running of update-* commands silent in the debhelper postrm
helper scripts (Closes: #365070) [preining]
Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog 2006-04-29 12:08:14 UTC (rev 1256)
+++ tex-common/trunk/debian/changelog 2006-04-29 12:21:19 UTC (rev 1257)
@@ -1,8 +1,10 @@
tex-common (0.21.1) UNRELEASED; urgency=low
* Also install FileUtils.pm which is needed by tpm2licenses [frank]
+ * Make running of update-* commands silent in the debhelper postrm
+ helper scripts (Closes: #365070) [preining]
- -- Frank Küster <frank at debian.org> Tue, 25 Apr 2006 15:15:37 +0200
+ -- Norbert Preining <preining at logic.at> Sat, 29 Apr 2006 14:19:22 +0200
tex-common (0.21) unstable; urgency=low
Modified: tex-common/trunk/scripts/postrm-tex
===================================================================
--- tex-common/trunk/scripts/postrm-tex 2006-04-29 12:08:14 UTC (rev 1256)
+++ tex-common/trunk/scripts/postrm-tex 2006-04-29 12:21:19 UTC (rev 1257)
@@ -27,9 +27,16 @@
dhit_check_run_without_errors ()
{
+ silent=0
+ if [ "$1" = "-silent" ] ; then
+ silent=1
+ shift
+ fi
if which "$1" >/dev/null; then
tempfile=$(mktemp -p /tmp checkrun.XXXXXXXX)
- printf "Running $*. This may take some time..."
+ if [ $silent = 0 ] ; then
+ printf "Running $*. This may take some time..."
+ fi
set +e
if "$@" > $tempfile 2>&1 ; then
rm -f $tempfile
@@ -84,9 +91,9 @@
case "$1" in
remove|disappear)
# It doesn't hurt to call all of them.
- dhit_check_run_without_errors update-updmap --quiet
- dhit_check_run_without_errors update-language
- dhit_check_run_without_errors update-fmtutil
+ 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
# The mktexlsr call needs an installed and configured basic TeX
# system, so check this.
if dhit_libkpathsea_configured; then
More information about the Pkg-tetex-commits
mailing list