diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-01-22 21:27:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-01-22 21:27:03 +0000 |
commit | fb8b7f343986d46dd67545816355a54424598747 (patch) | |
tree | 6edd4376ee90b5f684f404f70adba42bf4cd4ce0 /perl-install | |
parent | 8b9f10b6f500bff41b2d7e47716a82899d8dc95d (diff) | |
download | drakx-fb8b7f343986d46dd67545816355a54424598747.tar drakx-fb8b7f343986d46dd67545816355a54424598747.tar.gz drakx-fb8b7f343986d46dd67545816355a54424598747.tar.bz2 drakx-fb8b7f343986d46dd67545816355a54424598747.tar.xz drakx-fb8b7f343986d46dd67545816355a54424598747.zip |
remove unused auto_win_extended stuff
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/partition_table.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index d1f47079e..74645562d 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -375,12 +375,11 @@ sub remove_empty_extended { } $_->{normal}; } @{$hd->{extended}}; - adjust_main_extended($hd, 1); + adjust_main_extended($hd); } sub adjust_main_extended { - my ($hd, $no_auto_win_extended) = @_; - $no_auto_win_extended = 1; + my ($hd) = @_; if (!is_empty_array_ref $hd->{extended}) { my ($l, @l) = @{$hd->{extended}}; @@ -397,7 +396,6 @@ sub adjust_main_extended { } $l->{start} = $hd->{primary}{extended}{start} = $start; $l->{size} = $hd->{primary}{extended}{size} = $end - $start; - $hd->{primary}{extended}{type} = $only_linux ? 0x85 : $has_win_lba ? 0xf : 0x5 if !$::expert && !$no_auto_win_extended; } unless (@{$hd->{extended} || []} || !$hd->{primary}{extended}) { %{$hd->{primary}{extended}} = (); #- modify the raw entry |