[Debian-tex-commits] SVN tex-common commit + diffs: r4507 - in tex-common/branches/for-tl2008: debian scripts

Norbert Preining preining at alioth.debian.org
Sun Dec 27 22:09:08 UTC 2009


Author: preining
Date: 2009-12-27 22:09:07 +0000 (Sun, 27 Dec 2009)
New Revision: 4507

Modified:
   tex-common/branches/for-tl2008/debian/changelog
   tex-common/branches/for-tl2008/scripts/dh_installtex
Log:
fix rogue \n bug in dh_isntalltex


Modified: tex-common/branches/for-tl2008/debian/changelog
===================================================================
--- tex-common/branches/for-tl2008/debian/changelog	2009-12-26 17:20:42 UTC (rev 4506)
+++ tex-common/branches/for-tl2008/debian/changelog	2009-12-27 22:09:07 UTC (rev 4507)
@@ -1,3 +1,10 @@
+tex-common (2.04) unstable; urgency=low
+
+  * fix bug in dh_installtex that added a rogue newline in hyphenation
+    definitions, thanks Danai (Closes: #562783)
+
+ -- Norbert Preining <preining at debian.org>  Mon, 28 Dec 2009 07:05:31 +0900
+
 tex-common (2.03) unstable; urgency=low
 
   * only call fmtutil-sys in postinst if texlive-base is configured

Modified: tex-common/branches/for-tl2008/scripts/dh_installtex
===================================================================
--- tex-common/branches/for-tl2008/scripts/dh_installtex	2009-12-26 17:20:42 UTC (rev 4506)
+++ tex-common/branches/for-tl2008/scripts/dh_installtex	2009-12-27 22:09:07 UTC (rev 4507)
@@ -337,7 +337,7 @@
 		return($ret);
 	} elsif ($type eq "hyphen") {
 		my ($lang,$pat, at rest) = split(",",$line);
-		my $ret="name=$lang file=$pat\n";
+		my $ret="name=$lang file=$pat";
 		my @synonyms = ();
 		my $lhm;
 		my $rhm;
@@ -358,6 +358,7 @@
 		if ($#synonyms >= 0) {
 			$ret .= " synonyms=" . join(",", at synonyms);
 		}
+		$ret .= "\n";
 		return($ret);
 	}
 }




More information about the Debian-tex-commits mailing list