summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-09-11 08:43:14 +0000
committerFrancois Pons <fpons@mandriva.com>2002-09-11 08:43:14 +0000
commit063b6948cdb7fb4316c31510e6091b0aa8e45bb1 (patch)
tree9c21398df7f0528534da5a0b37abaafe366d440e
parentd7cfedd14b6d0879f2a68d7c6597bd6b9aac2162 (diff)
downloaddrakx-backup-do-not-use-063b6948cdb7fb4316c31510e6091b0aa8e45bb1.tar
drakx-backup-do-not-use-063b6948cdb7fb4316c31510e6091b0aa8e45bb1.tar.gz
drakx-backup-do-not-use-063b6948cdb7fb4316c31510e6091b0aa8e45bb1.tar.bz2
drakx-backup-do-not-use-063b6948cdb7fb4316c31510e6091b0aa8e45bb1.tar.xz
drakx-backup-do-not-use-063b6948cdb7fb4316c31510e6091b0aa8e45bb1.zip
fixed possible problem with NVIDIA packages parsing.
-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;