prt-auf: exchange array subscripts, installed <-> locked
This commit is contained in:
parent
1239bdf4ad
commit
787ba038e0
@ -334,8 +334,8 @@ sub printf_ports {
|
||||
foreach my $pp (@targets) {
|
||||
$p = (split /\//, $pp)[-1];
|
||||
@pstats = get_pkgfile_fields($pp,"all");
|
||||
$pstats[12] = (grep /^$p$/, keys %V_INST) ? "yes" : "no";
|
||||
$pstats[13] = (grep /^$p$/, @LOCKED) ? "yes" : "no";
|
||||
$pstats[12] = (grep /^$p$/, @LOCKED) ? "yes" : "no";
|
||||
$pstats[13] = (grep /^$p$/, keys %V_INST) ? "yes" : "no";
|
||||
printf STDOUT $outputf, @pstats[@pos];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user