From: Heikki Levanto Date: Mon, 28 Mar 2011 08:51:21 +0000 (+0200) Subject: Mark manual packages in list X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=daff3cb4e018b74d0ead0f6fb917912c5ba6eb45;p=git-tools-moved-to-github.git Mark manual packages in list --- diff --git a/aptcheck/aptcheck.pl b/aptcheck/aptcheck.pl index ccadf20..000bb67 100755 --- a/aptcheck/aptcheck.pl +++ b/aptcheck/aptcheck.pl @@ -149,10 +149,11 @@ for my $hline ( split("\n",$hostlist) ) { $det .= "". strdiff($bver,$restrinst).""; $det .= "". strdiff($restrinst,$bver).""; $det .= "\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