diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-28 14:54:20 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-28 14:54:20 +0000 |
commit | f86db925851c46fbc3834035a660237005b07d5a (patch) | |
tree | 34445bfcd06aefa6218ff6a4a94e3279cf9a9316 /perl-install/fs | |
parent | 48d7d284a65ece03c8918053147c2cbd11c78735 (diff) | |
download | drakx-backup-do-not-use-f86db925851c46fbc3834035a660237005b07d5a.tar drakx-backup-do-not-use-f86db925851c46fbc3834035a660237005b07d5a.tar.gz drakx-backup-do-not-use-f86db925851c46fbc3834035a660237005b07d5a.tar.bz2 drakx-backup-do-not-use-f86db925851c46fbc3834035a660237005b07d5a.tar.xz drakx-backup-do-not-use-f86db925851c46fbc3834035a660237005b07d5a.zip |
use last resizable fat partition in gtk mode
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/partitioning_wizard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index ad54cb1be..3d8557e5d 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -159,7 +159,7 @@ sub partitionWizardSolutions { interactive_help_id => 'resizeFATChoose', }, \&partition_table::description, \@ok_for_resize_fat) or return; } else { - ($part) = grep { $_->{req_size} } @ok_for_resize_fat; + $part = top(grep { $_->{req_size} } @ok_for_resize_fat); } my $resize_fat = $part->{resize_fat}; my $hd = fs::get::part2hd($part, $all_hds); |