diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-04-05 22:28:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-04-05 22:28:24 +0000 |
commit | 85e27c29d6c577a0f6aa9e05130d8a3c7c312775 (patch) | |
tree | 5657000d2b9f00d15fa08f61bf2ac7a386f81be9 /perl-install | |
parent | e8dd4eb71f54a033501ccf43a612db1c36448743 (diff) | |
download | drakx-backup-do-not-use-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar drakx-backup-do-not-use-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar.gz drakx-backup-do-not-use-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar.bz2 drakx-backup-do-not-use-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.tar.xz drakx-backup-do-not-use-85e27c29d6c577a0f6aa9e05130d8a3c7c312775.zip |
(install_grub): small fix
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 5 |
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; |