summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-26 06:55:03 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-12-25 10:34:22 +0100
commit080ee49122246d119fb1531efdaa6a89c979671d (patch)
treec49e3b8a38764117101fea646fb37bc2356fd3f6
parent7d6fe2c85990bd9857eceb2bfb68fd4b393d3715 (diff)
downloaddrakx-080ee49122246d119fb1531efdaa6a89c979671d.tar
drakx-080ee49122246d119fb1531efdaa6a89c979671d.tar.gz
drakx-080ee49122246d119fb1531efdaa6a89c979671d.tar.bz2
drakx-080ee49122246d119fb1531efdaa6a89c979671d.tar.xz
drakx-080ee49122246d119fb1531efdaa6a89c979671d.zip
don't opencode unshift()
make it more readable
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index ddae28481..024d6f975 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -51,7 +51,7 @@ sub init_efi_suggestions {
return if !is_uefi() || grep { isESP($_) } @$fstab;
foreach (values %suggestions) {
- @$_ = ({ mntpoint => "/boot/EFI", size => MB(100), pt_type => 0xef, ratio => 1, maxsize => MB(300) }, @$_);
+ unshift @$_, { mntpoint => "/boot/EFI", size => MB(100), pt_type => 0xef, ratio => 1, maxsize => MB(300) };
}
}