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

[tex-common] 16/16: fix some stupidities in dh_installtex



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

preining pushed a commit to branch master
in repository tex-common.

commit 2aaecfad2dfec0fc65dace8a7f4e189aab47e0a7
Author: Norbert Preining <preining@debian.org>
Date:   Wed Jun 3 11:55:04 2015 +0900

    fix some stupidities in dh_installtex
---
 scripts/dh_installtex | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/scripts/dh_installtex b/scripts/dh_installtex
index 1a4b9d6..315c4ed 100755
--- a/scripts/dh_installtex
+++ b/scripts/dh_installtex
@@ -549,15 +549,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		push @postrmfmtdata, @addbuildformats;
 	}
 	if (! $dh{NOSCRIPTS}) {
-		$whattodoinst = "";
-		$whattodorem  = "";
-		for my $w (@whattodo) {
-			$whattodoinst .= "\tupdate-texmf-conf $w\n";
-			$whattodorem .= "\tdhit_call_update_texmf_config $w\n";
-		}
+		my $whattodoinst = "update-texmf-conf @whattodo";
+		my $whattodorem  = "dhit_call_update_texmf_config @whattodo";
 		autoscript($package, "postinst", "postinst-tex", "s|#WHATTODO#|$whattodoinst|");
 		# map entries have already been filtered out
-		autoscript($package, "postrm",   "postrm-tex", "s|#FORMATS#|@postrmfmtdata|; s|#WHATTODO#|@whattodorem|");
+		autoscript($package, "postrm",   "postrm-tex", "s|#FORMATS#|@postrmfmtdata|; s|#WHATTODO#|$whattodorem|");
 	}
 
 	# for trigger support

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


Reply to: