summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-15 05:19:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-15 05:19:57 +0000
commit8bf7c39eead21d65b019d705c9296f383f4c2fa8 (patch)
treee7b2e5572fa4c94b44e9a688ebda1e219b5d15ec /perl-install
parenta974ba52bb78a477d2c8ef30591f79a2fa41a889 (diff)
downloaddrakx-8bf7c39eead21d65b019d705c9296f383f4c2fa8.tar
drakx-8bf7c39eead21d65b019d705c9296f383f4c2fa8.tar.gz
drakx-8bf7c39eead21d65b019d705c9296f383f4c2fa8.tar.bz2
drakx-8bf7c39eead21d65b019d705c9296f383f4c2fa8.tar.xz
drakx-8bf7c39eead21d65b019d705c9296f383f4c2fa8.zip
no need to require pkgs (and it makes bootloader-config some break when removing entries)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 06a4a1d83..24ddf7fb3 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -583,7 +583,6 @@ sub get_kernels_and_labels {
sub get_kernel_labels {
my ($kernels, $b_prefer_24) = @_;
- require pkgs;
my @kernels_str =
sort { c::rpmvercmp($b->{version_no_ext}, $a->{version_no_ext}) }
grep { -d "$::prefix/lib/modules/$_->{version}" }