prt-auf: sort the output when listing differences
This commit is contained in:
parent
f9268f2073
commit
3d4523d126
@ -563,7 +563,7 @@ sub port_diff { # returns a scalar indicating how many differences were found
|
|||||||
|
|
||||||
if ($dtype !~ /^(current|isinst|utd)/) {
|
if ($dtype !~ /^(current|isinst|utd)/) {
|
||||||
printf "$format", "Port", "Installed", "In Repository" if (! $dtype);
|
printf "$format", "Port", "Installed", "In Repository" if (! $dtype);
|
||||||
foreach my $p (keys %V_INST) {
|
foreach my $p (sort(keys %V_INST)) {
|
||||||
next if (($osearch{filter}) and ($p !~ /$osearch{filter}/));
|
next if (($osearch{filter}) and ($p !~ /$osearch{filter}/));
|
||||||
next if ((grep /$p/, @LOCKED) and ($odepends{all}==0));
|
next if ((grep /$p/, @LOCKED) and ($odepends{all}==0));
|
||||||
$lastcol = ($V_REPO{$p}) ? $V_REPO{$p} : "MISSING!";
|
$lastcol = ($V_REPO{$p}) ? $V_REPO{$p} : "MISSING!";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user