summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 00bc741d2..93d70c3f8 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -183,7 +183,7 @@ sub setup_postinstall_rpms($$) {
}
@toCopy{@needToCopyIfRequiresSatisfied} = ();
- my @toCopy = map { pkgs::packageByName($packages, $_) } keys %toCopy;
+ my @toCopy = grep { $_ } map { pkgs::packageByName($packages, $_) } keys %toCopy;
#- extract headers of package, this is necessary for getting
#- the complete filename of each package.