summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 13de2d17b..f02a0b4d4 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -600,7 +600,7 @@ sub setupBootloader__entries {
my $Up = sub {
my ($e) = @_;
my @entries = @{$b->{entries}};
- my ($index) = grep { $entries[$_]->{label} eq $e->{label} } 0..$#entries;
+ my ($index) = grep { $entries[$_]{label} eq $e->{label} } 0..$#entries;
if ($index > 0) {
(@{$b->{entries}}->[$index - 1], @{$b->{entries}}->[$index]) = (@{$b->{entries}}->[$index], @{$b->{entries}}->[$index - 1]);
}
@@ -610,7 +610,7 @@ sub setupBootloader__entries {
my $Down = sub {
my ($e) = @_;
my @entries = @{$b->{entries}};
- my ($index) = grep { $entries[$_]->{label} eq $e->{label} } 0..$#entries;
+ my ($index) = grep { $entries[$_]{label} eq $e->{label} } 0..$#entries;
if ($index < $#entries) {
(@{$b->{entries}}->[$index + 1], @{$b->{entries}}->[$index]) = (@{$b->{entries}}->[$index], @{$b->{entries}}->[$index + 1]);
}