diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 769b44c4c..23be9b452 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -268,7 +268,7 @@ if_(arch() !~ /sparc|ppc/, { label => _("Unsafe"), val => \$e->{unsafe}, type => 'bool' } ), ); - @l = $l[0] unless $::expert; + @l = @l[0] unless $::expert; } if (arch() !~ /ppc/) { @l = ( @@ -281,9 +281,9 @@ if (arch() !~ /ppc/) { @l ); if ($e->{type} eq "image") { @l = ({ label => _("Label"), val => \$e->{label} }, - $::expert ? @l[1..4] : { label => _("Append"), val => \$e->{append} } , + $::expert ? @l[1..4] : @l[1..2], { label => _("Append"), val => \$e->{append} } , if_($::expert, { label => _("Initrd-size"), val => \$e->{initrdsize}, list => [ '', '4096', '8192', '16384', '24576' ] }), - if_($::expert, $l[5]), + if_($::expert, @l[5]), { label => _("NoVideo"), val => \$e->{novideo}, type => 'bool' }, { label => _("Default"), val => \$default, type => 'bool' } ); |