From 076b572a8889b481906bf022777f11b625258591 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Fri, 30 Sep 2022 20:47:47 -0400 Subject: [PATCH] prt-auf: improve the handling of dependency lines that list deleted ports --- scripts/prt-auf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prt-auf b/scripts/prt-auf index 5293df8..d6d84e9 100755 --- a/scripts/prt-auf +++ b/scripts/prt-auf @@ -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;