summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/raw.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 16:49:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 16:49:00 +0000
commit922d528b7664b8b885f596055bd25232f3df32a7 (patch)
treea6cb14b1f983b66b55f46fc6f04d2172e4b13b44 /perl-install/partition_table/raw.pm
parent3021e910718c4702abe831c7aa53e8a7bf8b135f (diff)
downloaddrakx-backup-do-not-use-922d528b7664b8b885f596055bd25232f3df32a7.tar
drakx-backup-do-not-use-922d528b7664b8b885f596055bd25232f3df32a7.tar.gz
drakx-backup-do-not-use-922d528b7664b8b885f596055bd25232f3df32a7.tar.bz2
drakx-backup-do-not-use-922d528b7664b8b885f596055bd25232f3df32a7.tar.xz
drakx-backup-do-not-use-922d528b7664b8b885f596055bd25232f3df32a7.zip
remove unneeded parentheses on the right side of infix if/foreach/unless
Diffstat (limited to 'perl-install/partition_table/raw.pm')
-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 47e275a2d..454aa0856 100644
--- a/perl-install/partition_table/raw.pm
+++ b/perl-install/partition_table/raw.pm
@@ -145,7 +145,7 @@ sub zero_MBR {
#- force the standard partition type for the architecture
my $type = arch() =~ /ia64/ ? 'gpt' : arch() eq "alpha" ? "bsd" : arch() =~ /^sparc/ ? "sun" : arch() eq "ppc" ? "mac" : "dos";
#- override standard mac type on PPC for IBM machines to dos
- $type = "dos" if (arch() =~ /ppc/ && detect_devices::get_mac_model() =~ /^IBM/);
+ $type = "dos" if arch() =~ /ppc/ && detect_devices::get_mac_model() =~ /^IBM/;
require("partition_table/$type.pm");
bless $hd, "partition_table::$type";
$hd->{primary} = $hd->clear_raw();