summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-06 23:13:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-06 23:13:42 +0000
commitcc007017f9dbb2c6fb7cc74feb1f557f454e0092 (patch)
tree85c21de8656a2f52233026fef30e69a6c53f7bc0
parente49ebe1d90239598bfb667fe6c4c23c643e75fd4 (diff)
downloaddrakx-cc007017f9dbb2c6fb7cc74feb1f557f454e0092.tar
drakx-cc007017f9dbb2c6fb7cc74feb1f557f454e0092.tar.gz
drakx-cc007017f9dbb2c6fb7cc74feb1f557f454e0092.tar.bz2
drakx-cc007017f9dbb2c6fb7cc74feb1f557f454e0092.tar.xz
drakx-cc007017f9dbb2c6fb7cc74feb1f557f454e0092.zip
fix "Where do you want to install the bootloader?" dialog box
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index caddc0fab..960f6909f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -123,7 +123,7 @@ sub setupBootloader {
my $use_partition = "/dev/$boot" ne $b->{boot};
$in->ask_from(N("LILO/grub Installation"),
N("Where do you want to install the bootloader?"),
- { val => \$use_partition, list => [ 0, 1 ], format => sub { translate($l[$_[0]]) } });
+ [ { val => \$use_partition, list => [ 0, 1 ], format => sub { translate($l[$_[0]]) } } ]);
$b->{boot} = "/dev/" . ($use_partition ? fsedit::get_root($fstab, 'boot')->{device} : $boot);
}
} else {