diff options
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index 97c3d8a11..c5bbccdff 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -1075,6 +1075,9 @@ sub format_ { my ($in, $hd, $part, $all_hds) = @_; write_partitions($in, $_) or return foreach isRAID($part) ? @{$all_hds->{hds}} : $hd; ask_alldatawillbelost($in, $part, N_("After formatting partition %s, all data on this partition will be lost")) or return; + if ($::isStandalone) { + fs::format::check_package_is_installed($in->do_pkgs, $part->{fs_type}) or return; + } $part->{isFormatted} = 0; #- force format; my $w; fs::format::part($all_hds->{raids}, $part, $::prefix, sub { |