[tex-live] Bug and patch for updmap.pl

Aaron Chen nextaaron at gmail.com
Sun Oct 26 01:40:59 CEST 2008


Karl,

Thanks. To make the printed output correct, we also need to apply a patch
as below:

--- updmap.pl at revision=11027    Sat Oct 25 16:38:36 2008
+++ updmap.pl   Sat Oct 25 00:55:00 2008
@@ -464,6 +464,7 @@
   for my $line (@cfg) {
     if ($line =~ m/^\s*${variable}[\s=]+(.*)\s*$/) {
       $value = $1;
+      print "$variable => " . $value . "\n";
       if ($value =~ m/^(true|yes|t|y|1)$/) {
              $value = 1;
       }
@@ -473,7 +474,6 @@
       last;
     }
   }
-  print "$variable => " . ($value ? "true\n" : "false\n");
   return $value;
 }
 
 Aaron Chen
 
On Wed, 22 Oct 2008 16:26:56 -0500
karl at freefriends.org (Karl Berry) wrote:

>     -      else {
>     +      elsif ($value =~ m/^(false|no|f|n|0)$/) {
> 
> I installed your change, thanks.
> 
> karl




More information about the tex-live mailing list