From cc007017f9dbb2c6fb7cc74feb1f557f454e0092 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 6 Jan 2003 23:13:42 +0000 Subject: fix "Where do you want to install the bootloader?" dialog box --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.1