diff options
author | Francois Pons <fpons@mandriva.com> | 2002-07-15 12:28:15 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-07-15 12:28:15 +0000 |
commit | de5abfe9a6362061ef57de949cb5572dd0f4cb52 (patch) | |
tree | dcb8a839f3cb38594ad7eb18351b870f778be7e8 /perl-install | |
parent | b3ef41c3525fdd602252995a40c0f862fa0c3704 (diff) | |
download | drakx-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar drakx-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar.gz drakx-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar.bz2 drakx-de5abfe9a6362061ef57de949cb5572dd0f4cb52.tar.xz drakx-de5abfe9a6362061ef57de949cb5572dd0f4cb52.zip |
now use kept c::rpmvercmp instead of removed pkgs::versionCompare.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
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 ]; |