[Debian-tex-commits] SVN tex-common commit + diffs: r1891 - in tex-common/trunk: debian scripts

Norbert Preining preining-guest at costa.debian.org
Tue Oct 24 13:57:56 UTC 2006


Author: preining-guest
Date: 2006-10-24 13:57:56 +0000 (Tue, 24 Oct 2006)
New Revision: 1891

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/scripts/dh_installtex
Log:
use Ralfs regexp for format extraction, it makes sense to have it in sync 
with fmtutil.


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2006-10-24 11:07:15 UTC (rev 1890)
+++ tex-common/trunk/debian/changelog	2006-10-24 13:57:56 UTC (rev 1891)
@@ -1,14 +1,17 @@
 tex-common (0.35.1) UNRELEASED; urgency=low
 
-  * fix format extraction regexp in dh_installtex [preining]
+  * fix format extraction regexp in dh_installtex, the format name must
+    now be at the beginning of the line, without any leading whitespace.
+    Thanks Ralf. [preining]
   * dh_installtex: include only the minimal mktexlsr code in case no other
     installation is done (ie no maps, formats, languages) [preining]
   * dh_installtex: add ability to specify texmf trees on cmdline, and only
     recreate the ls-R DB for /usr/share/texmf and /var/lib/texmf [preining]
     (Closes: 392359)
   * Adjust the TEXFORMATS config to .;$TEXMF/web2c/{$engine,}
+  * 
 
- -- Norbert Preining <preining at debian.org>  Tue, 24 Oct 2006 13:06:37 +0200
+ -- Norbert Preining <preining at debian.org>  Tue, 24 Oct 2006 15:56:16 +0200
 
 tex-common (0.35) unstable; urgency=low
 

Modified: tex-common/trunk/scripts/dh_installtex
===================================================================
--- tex-common/trunk/scripts/dh_installtex	2006-10-24 11:07:15 UTC (rev 1890)
+++ tex-common/trunk/scripts/dh_installtex	2006-10-24 13:57:56 UTC (rev 1891)
@@ -263,7 +263,7 @@
 
 sub extract_format {
 	my ($line) = @_;
-	if ($line =~ m/^[^\w#]*([\w-]+)*/) {
+	if ($line =~ m/^([^#\s]\S*)/) {
 		return $1;
 	}
 }




More information about the Debian-tex-commits mailing list