prt-auf: improve the handling of dependency lines that list deleted ports
This commit is contained in:
parent
4a91198d54
commit
076b572a88
@ -659,8 +659,8 @@ sub up_inst { # returns scalar references to five arrays
|
|||||||
# resolve all dependencies unless the command was 'grpinst'
|
# resolve all dependencies unless the command was 'grpinst'
|
||||||
my @targets=($type eq "grpinst") ? @_ : deporder("quickdep",@_);
|
my @targets=($type eq "grpinst") ? @_ : deporder("quickdep",@_);
|
||||||
|
|
||||||
# filter out the invalid ports if deporder() didn't do so already
|
# filter out the invalid ports
|
||||||
@targets = grep { ($V_REPO{$_}) } @targets if ($type eq "grpinst");
|
@targets = grep { ($V_REPO{$_}) } @targets;
|
||||||
|
|
||||||
# exempt any locked ports from an update operation
|
# exempt any locked ports from an update operation
|
||||||
%EXEMPT = map { $_ => 1 } @LOCKED;
|
%EXEMPT = map { $_ => 1 } @LOCKED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user