Mark manual packages in list
authorHeikki Levanto <heikki@indexdata.dk>
Mon, 28 Mar 2011 08:51:21 +0000 (10:51 +0200)
committerHeikki Levanto <heikki@indexdata.dk>
Mon, 28 Mar 2011 08:51:21 +0000 (10:51 +0200)
aptcheck/aptcheck.pl

index ccadf20..000bb67 100755 (executable)
@@ -149,10 +149,11 @@ for my $hline ( split("\n",$hostlist) ) {
                     $det .= "<td>". strdiff($bver,$restrinst)."</td>";
                     $det .= "<td>". strdiff($restrinst,$bver)."</td>";
                     $det .= "</tr>\n";
-                    if ( !$summary{$restrname} ) {
-                        $summary{$restrname} = "";
+                    my $key = "$restrname (M)";
+                    if ( !$summary{$key} ) {
+                        $summary{$key} = "";
                     }
-                    $summary{$restrname} .= "$H ";
+                    $summary{$key} .= "$H ";
                 }
             }
             $restrname = ""; # clear for next round