summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-05 22:28:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-05 22:28:24 +0000
commit85e27c29d6c577a0f6aa9e05130d8a3c7c312775 (patch)
tree5657000d2b9f00d15fa08f61bf2ac7a386f81be9 /perl-install/bootloader.pm
parente8dd4eb71f54a033501ccf43a612db1c36448743 (diff)
downloaddrakx-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar
drakx-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar.gz
drakx-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar.bz2
drakx-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar.xz
drakx-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.zip
(install_grub): small fix
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 55b64018d..3efece178 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -693,9 +693,10 @@ sub dev2grub {
sub install_grub {
my ($prefix, $lilo, $fstab, $hds) = @_;
- my %dev2bios =
+ my %dev2bios = (
(map_index { $_ => "fd$::i" } detect_devices::floppies()),
- (map_index { $_ => "hd$::i" } dev2bios($hds, $lilo->{boot}));
+ (map_index { $_ => "hd$::i" } dev2bios($hds, $lilo->{boot})),
+ );
{
my %bios2dev = reverse %dev2bios;