From daff3cb4e018b74d0ead0f6fb917912c5ba6eb45 Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Mon, 28 Mar 2011 10:51:21 +0200 Subject: [PATCH] Mark manual packages in list --- aptcheck/aptcheck.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 1.7.10.4