summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-08-21 10:40:55 +0000
committerFrancois Pons <fpons@mandriva.com>2002-08-21 10:40:55 +0000
commit2017225e31acc18f61de7802abe2e22ae9b4a353 (patch)
tree75f9b4899f95122572e1e881e38c63cb427046f8
parent5849eb4751d357284e2d4bb544b2d0885a820508 (diff)
downloaddrakx-backup-do-not-use-2017225e31acc18f61de7802abe2e22ae9b4a353.tar
drakx-backup-do-not-use-2017225e31acc18f61de7802abe2e22ae9b4a353.tar.gz
drakx-backup-do-not-use-2017225e31acc18f61de7802abe2e22ae9b4a353.tar.bz2
drakx-backup-do-not-use-2017225e31acc18f61de7802abe2e22ae9b4a353.tar.xz
drakx-backup-do-not-use-2017225e31acc18f61de7802abe2e22ae9b4a353.zip
added return for bestKernelPackage ;-)
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index fc26cece0..060a48090 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -174,6 +174,8 @@ sub bestKernelPackage {
$pkg->name =~ /kernel-\d/ or next;
!$best || $pkg->compare_pkg($best) > 0 and $best = $pkg;
}
+
+ $best;
}
sub packagesOfMedium {