diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-06-23 03:46:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-06-23 03:46:18 +0000 |
commit | 9485e67879e02d29d4fd04b9d3ad50883b60019c (patch) | |
tree | 3f65cdd12a5fb74e03e731ed34507847df34009a | |
parent | 341be46445029addcc607955b58f86613ce43e61 (diff) | |
download | drakx-9485e67879e02d29d4fd04b9d3ad50883b60019c.tar drakx-9485e67879e02d29d4fd04b9d3ad50883b60019c.tar.gz drakx-9485e67879e02d29d4fd04b9d3ad50883b60019c.tar.bz2 drakx-9485e67879e02d29d4fd04b9d3ad50883b60019c.tar.xz drakx-9485e67879e02d29d4fd04b9d3ad50883b60019c.zip |
kernelVersion() is unused (only bootloader::mkbootdisk() used it, and it has already been removed)
-rw-r--r-- | perl-install/any.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 9679fb1fd..2683a6981 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -78,11 +78,6 @@ sub hdInstallPath() { defined $tail && ($head ? "$head/$tail" : "/mnt/hd/$tail"); } -sub kernelVersion() { - my $kernel = readlink("$::prefix/boot/vmlinuz") || first(all("$::prefix/boot")); - first($kernel =~ /vmlinuz-(.*)/); -} - sub setupBootloader { my ($in, $b, $all_hds, $fstab, $security) = @_; my $hds = $all_hds->{hds}; |