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 bc554e67f..34ecbd629 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -161,7 +161,7 @@ sub setup_postinstall_rpms($$) {
#- compute closure of package that may be copied, use INSTALL category
#- in rpmsrate.
foreach (@{$packages->{needToCopy} || []}) {
- my $p = pkgs::packageByName($packages, $_);
+ my $p = pkgs::packageByName($packages, $_) or next;
pkgs::selectPackage($packages, $p, 0, \%toCopy);
}