prt-auf: improve the handling of dependency lines that list deleted ports

This commit is contained in:
John McQuah 2022-09-30 20:47:47 -04:00
parent 4a91198d54
commit 076b572a88
1 changed files with 2 additions and 2 deletions

View File

@ -659,8 +659,8 @@ sub up_inst { # returns scalar references to five arrays
# resolve all dependencies unless the command was 'grpinst'
my @targets=($type eq "grpinst") ? @_ : deporder("quickdep",@_);
# filter out the invalid ports if deporder() didn't do so already
@targets = grep { ($V_REPO{$_}) } @targets if ($type eq "grpinst");
# filter out the invalid ports
@targets = grep { ($V_REPO{$_}) } @targets;
# exempt any locked ports from an update operation
%EXEMPT = map { $_ => 1 } @LOCKED;