[Popcon-commits] cvs commit to popularity-contest by ballombe

popcon-commits@lists.alioth.debian.org popcon-commits@lists.alioth.debian.org
Fri, 18 Jun 2004 12:57:18 -0600


Update of /cvsroot/popcon/popularity-contest
In directory haydn:/tmp/cvs-serv24339

Modified Files:
	popcon.pl 
Log Message:
Fix URL to kfreebsd port.


Index: popcon.pl
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/popcon.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- popcon.pl	27 Apr 2004 16:44:03 -0000	1.10
+++ popcon.pl	18 Jun 2004 18:57:16 -0000	1.11
@@ -368,7 +368,9 @@
         for $f (grep { $_ ne 'unknown' } sort keys %arch)
         {
 		my ($port)=split('-',$f);
-                printf HTML "<a href=\"http://www.debian.org/ports/$port/\">%-16s</a> : %-10s <a href=\"/stat/sub-$f.png\">graph</a>\n",$f,$arch{$f};
+		$port="$port/";
+		$port="freebsd/gnu-libc-based" if ($port eq "kfreebsd/");
+                printf HTML "<a href=\"http://www.debian.org/ports/$port\">%-16s</a> : %-10s <a href=\"/stat/sub-$f.png\">graph</a>\n",$f,$arch{$f};
         }
         printf HTML "%-16s : %-10s <a href=\"/stat/sub-unknown.png\">graph</a>\n","unknown",$arch{"unknown"};
 	print HTML  <<'EOF';