summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorAdam Lebsack <adam@mandriva.com>2000-02-28 07:17:59 +0000
committerAdam Lebsack <adam@mandriva.com>2000-02-28 07:17:59 +0000
commit2d6caff6808086e1fbf44fdaa32a40e86be777b2 (patch)
treefe25773d9a5f58cf5ed4481fffc20af696169392 /perl-install
parent651cea278278cd51f8b839bb17099ce111316a0d (diff)
downloaddrakx-backup-do-not-use-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar
drakx-backup-do-not-use-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar.gz
drakx-backup-do-not-use-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar.bz2
drakx-backup-do-not-use-2d6caff6808086e1fbf44fdaa32a40e86be777b2.tar.xz
drakx-backup-do-not-use-2d6caff6808086e1fbf44fdaa32a40e86be777b2.zip
Added mac partition table support.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/partition_table_raw.pm2
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;