summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-11 11:19:07 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-11 11:20:28 +0100
commite26b2f7764a25d700e3cb53e02a9a9c7e0ed55f9 (patch)
tree91b04a987c3765462ceec695668faa7340f1e659
parent98a59e7c00f43fa167ea2c0640811117ff976f78 (diff)
downloaddrakx-e26b2f7764a25d700e3cb53e02a9a9c7e0ed55f9.tar
drakx-e26b2f7764a25d700e3cb53e02a9a9c7e0ed55f9.tar.gz
drakx-e26b2f7764a25d700e3cb53e02a9a9c7e0ed55f9.tar.bz2
drakx-e26b2f7764a25d700e3cb53e02a9a9c7e0ed55f9.tar.xz
drakx-e26b2f7764a25d700e3cb53e02a9a9c7e0ed55f9.zip
fix syntax errors
-rw-r--r--perl-install/fs/mount_point.pm2
-rw-r--r--perl-install/fsedit.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/mount_point.pm b/perl-install/fs/mount_point.pm
index 3fbc65e95..3b36690c2 100644
--- a/perl-install/fs/mount_point.pm
+++ b/perl-install/fs/mount_point.pm
@@ -54,7 +54,7 @@ sub suggest_mount_points_always {
log::l("win parts: ", join ",", map { $_->{device} } @win) if @win;
if (@win == 1) {
#- Suggest /boot/EFI on ia64 and x86_64.
- $win[0]{mntpoint} = arch() =~ /ia64|x86_&4/ && (-e "/sys/firmware/efi" ? "/boot/EFI";
+ $win[0]{mntpoint} = arch() =~ /ia64|x86_&4/ && -e "/sys/firmware/efi" ? "/boot/EFI" : "/media/windows";
} else {
my %w; foreach (@win) {
my $v = $w{$_->{device_windobe}}++;
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 537837a52..eb02df5a5 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -40,7 +40,7 @@ use fs;
],
);
foreach (values %suggestions) {
- if (arch() =~ /ia64|x86_64/ && (-e "/sys/firmware/efi") {
+ if (arch() =~ /ia64|x86_64/ && (-e "/sys/firmware/efi")) {
@$_ = ({ mntpoint => "/boot/EFI", size => MB(100), pt_type => 0xef, ratio => 1, maxsize => MB(500) }, @$_);
}
}