summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0007f7f88..621095859 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -200,7 +200,7 @@ sub allowNVIDIA_rpms {
$p->flag_available or next;
$version or ($version, $release) = ($p->version, $p->release);
my $name = "NVIDIA_kernel-$version-$release$ext";
- pkgs::packageByName($packages, $name) or return;
+ pkgs::packageByName($packages, $name) or next;
push @rpms, $name;
}
@rpms > 0 or return;