[subversion-commit] SVN tetex commit + diffs: r272 - tex-common/trunk/scripts

Norbert Preining preining-guest at costa.debian.org
Tue Oct 18 15:41:55 UTC 2005


Author: preining-guest
Date: 2005-10-18 15:41:55 +0000 (Tue, 18 Oct 2005)
New Revision: 272

Modified:
   tex-common/trunk/scripts/dh_installtexfonts
Log:
Fix for uninitialized variable


Modified: tex-common/trunk/scripts/dh_installtexfonts
===================================================================
--- tex-common/trunk/scripts/dh_installtexfonts	2005-10-18 15:30:07 UTC (rev 271)
+++ tex-common/trunk/scripts/dh_installtexfonts	2005-10-18 15:41:55 UTC (rev 272)
@@ -115,7 +115,10 @@
 				push @cmdlinemaps, "$1 $2";
 			} elsif ($entry =~ m/^(.*\.cfg)(=([[:digit:]]+))?$/) {
 				my $fn=$1;
-				my $pr= ($3 eq "")?$priority:$3;
+				my $pr=$priority;
+				if (defined($3)) {
+					$pr=$3;
+				}
 				my $bn=basename($fn);
 				if ($bn eq "$package.cfg" && $pr == $priority) {
 					$pkgfileoncmdline = 1;




More information about the Pkg-tetex-commits mailing list