diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-07-30 12:58:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-07-30 12:58:11 +0000 |
commit | 5ed323fc9a6c7e36a81242fa4a104ba3ea514339 (patch) | |
tree | e6a50fe6deecc79642045ee3b602c29d86f019df /perl-install/partition_table.pm | |
parent | 3d79e422764401cf0d18a86bdf2679511119cdbc (diff) | |
download | drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar.gz drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar.bz2 drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar.xz drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.zip |
no_comment
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r-- | perl-install/partition_table.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index a9f20cd10..8ea4744bc 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -276,6 +276,11 @@ sub remove($$) { %{$last->{extended}} = $_->{extended} ? %{$_->{extended}} : (); splice(@{$hd->{extended}}, $i, 1); + unless (@{$hd->{extended}}) { + %{$hd->{primary}->{extended}} = (); + delete $hd->{primary}->{extended}; + } + return $hd->{isDirty} = $hd->{needKernelReread} = 1; } $last = $_; |