diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-01 15:04:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-01 15:04:05 +0000 |
commit | a763c2f6b76222de861766847b15ea9f4f12e69e (patch) | |
tree | 80e9626d5522d8e67de013d906c3cd230401cf8a /perl-install | |
parent | d09d5a5912fd657e56c193d28c40738132f81513 (diff) | |
download | drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar.gz drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar.bz2 drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar.xz drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.zip |
(setupBootloader__entries) perl_checker cleanups
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 4 |
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]); } |