summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 14:55:56 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 14:55:56 +0000
commit3098163a005cd20c01c7569204d4ed43a71b1511 (patch)
tree0d89543e2c47045409dbd22484e30f7cf5210350 /perl-install
parentf86db925851c46fbc3834035a660237005b07d5a (diff)
downloaddrakx-3098163a005cd20c01c7569204d4ed43a71b1511.tar
drakx-3098163a005cd20c01c7569204d4ed43a71b1511.tar.gz
drakx-3098163a005cd20c01c7569204d4ed43a71b1511.tar.bz2
drakx-3098163a005cd20c01c7569204d4ed43a71b1511.tar.xz
drakx-3098163a005cd20c01c7569204d4ed43a71b1511.zip
group code
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/partitioning_wizard.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 3d8557e5d..1cc474f79 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -158,14 +158,12 @@ sub partitionWizardSolutions {
$part = $in->ask_from_listf_raw({ messages => N("Which partition do you want to resize?"),
interactive_help_id => 'resizeFATChoose',
}, \&partition_table::description, \@ok_for_resize_fat) or return;
+ $part->{size} > $part->{min_linux} + $part->{min_win} or die N("Your Microsoft Windows® partition is too fragmented. Please reboot your computer under Microsoft Windows®, run the ``defrag'' utility, then restart the Mandriva Linux installation.");
} else {
$part = top(grep { $_->{req_size} } @ok_for_resize_fat);
}
my $resize_fat = $part->{resize_fat};
my $hd = fs::get::part2hd($part, $all_hds);
- if (!$in->isa('interactive::gtk')) {
- $part->{size} > $part->{min_linux} + $part->{min_win} or die N("Your Microsoft Windows® partition is too fragmented. Please reboot your computer under Microsoft Windows®, run the ``defrag'' utility, then restart the Mandriva Linux installation.");
- }
$in->ask_okcancel('', formatAlaTeX(
#-PO: keep the double empty lines between sections, this is formatted a la LaTeX
N("WARNING!