diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-05 07:47:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-05 07:47:36 +0000 |
commit | 0a23f36bd52f14f68cc394c37ef7a9af0c406caa (patch) | |
tree | 96cf9a72f416f0c2175055e43e1fbe2e3918ef1b /perl-install/partition_table/raw.pm | |
parent | 51fd51c2f560620d0e5c73a824d7677661f9c385 (diff) | |
download | drakx-0a23f36bd52f14f68cc394c37ef7a9af0c406caa.tar drakx-0a23f36bd52f14f68cc394c37ef7a9af0c406caa.tar.gz drakx-0a23f36bd52f14f68cc394c37ef7a9af0c406caa.tar.bz2 drakx-0a23f36bd52f14f68cc394c37ef7a9af0c406caa.tar.xz drakx-0a23f36bd52f14f68cc394c37ef7a9af0c406caa.zip |
big renaming of field {type} to {pt_type},
this will allow defining {fs_type} which will always be a string
whereas {pt_type} will always be a number
Diffstat (limited to 'perl-install/partition_table/raw.pm')
-rw-r--r-- | perl-install/partition_table/raw.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm index e01f9c1c3..8cbe0ec14 100644 --- a/perl-install/partition_table/raw.pm +++ b/perl-install/partition_table/raw.pm @@ -124,14 +124,14 @@ sub raw_removed { } sub can_raw_add { my ($hd) = @_; - $_->{size} || $_->{type} or return 1 foreach @{$hd->{primary}{raw}}; + $_->{size} || $_->{pt_type} or return 1 foreach @{$hd->{primary}{raw}}; 0; } sub raw_add { my ($_hd, $raw, $part) = @_; foreach (@$raw) { - $_->{size} || $_->{type} and next; + $_->{size} || $_->{pt_type} and next; $_ = $part; return; } |