summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-15 12:28:15 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-15 12:28:15 +0000
commitde5abfe9a6362061ef57de949cb5572dd0f4cb52 (patch)
treedcb8a839f3cb38594ad7eb18351b870f778be7e8 /perl-install
parentb3ef41c3525fdd602252995a40c0f862fa0c3704 (diff)
downloaddrakx-backup-do-not-use-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar
drakx-backup-do-not-use-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar.gz
drakx-backup-do-not-use-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar.bz2
drakx-backup-do-not-use-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar.xz
drakx-backup-do-not-use-de5abfe9a6362061ef57de949cb5572dd0f4cb52.zip
now use kept c::rpmvercmp instead of removed pkgs::versionCompare.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index df290424d..aa844921c 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -269,7 +269,7 @@ sub get_kernels_and_labels {
require pkgs;
@kernels =
- sort { pkgs::versionCompare($b->[1], $a->[1]) || $weights{$a->[2]} <=> $weights{$b->[2]} }
+ sort { c::rpmvercmp($b->[1], $a->[1]) || $weights{$a->[2]} <=> $weights{$b->[2]} }
map {
if (my ($version, $ext) = /vmlinuz-((?:[\-.\d]*(?:mdk)?)*)(.*)/) {
[ "$version$ext", $version, $ext ];