diff options
author | Adam Lebsack <adam@mandriva.com> | 2000-02-28 07:17:59 +0000 |
---|---|---|
committer | Adam Lebsack <adam@mandriva.com> | 2000-02-28 07:17:59 +0000 |
commit | 2d6caff6808086e1fbf44fdaa32a40e86be777b2 (patch) | |
tree | fe25773d9a5f58cf5ed4481fffc20af696169392 /perl-install/partition_table_raw.pm | |
parent | 651cea278278cd51f8b839bb17099ce111316a0d (diff) | |
download | drakx-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar drakx-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar.gz drakx-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar.bz2 drakx-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar.xz drakx-2d6caff6808086e1fbf44fdaa32a40e86be777b2.zip |
Added mac partition table support.
Diffstat (limited to 'perl-install/partition_table_raw.pm')
-rw-r--r-- | perl-install/partition_table_raw.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index a6ccfdf2c..a27947bdd 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -99,7 +99,7 @@ sub kernel_read($) { sub zero_MBR($) { my ($hd) = @_; # unless (ref($hd) =~ /partition_table/) { - my $type = arch() eq "alpha" ? "bsd" : arch() =~ /^sparc/ ? "sun" : "dos"; + my $type = arch() eq "alpha" ? "bsd" : arch() =~ /^sparc/ ? "sun" : arch() eq "ppc" ? "mac" : "dos"; bless $hd, "partition_table_$type"; # } $hd->{isDirty} = $hd->{needKernelReread} = 1; |