summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-23 04:11:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-23 04:11:20 +0000
commit4458a8a8985d3c7c66588ff1cf0748178ad23c17 (patch)
treea88ba2f5f2135cfeb37eee21471592a6e6e1d012 /perl-install/install_any.pm
parent1d8347ff685c50364932f1b2e720a4a97c7d550c (diff)
downloaddrakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.gz
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.bz2
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.xz
drakx-4458a8a8985d3c7c66588ff1cf0748178ad23c17.zip
replace pt_type2name($part->{pt_type}) with part2name($part)
(hoisting the dereferencing {pt_type})
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 5fd0b8c6f..286e88be8 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1130,7 +1130,7 @@ sub getHds {
}
}
- my @sunos = grep { isSunOS($_) && pt_type2name($_->{pt_type}) =~ /root/i } @{$o->{fstab}}; #- take only into account root partitions.
+ my @sunos = grep { isSunOS($_) && part2name($_) =~ /root/i } @{$o->{fstab}}; #- take only into account root partitions.
if (@sunos) {
my $v = '';
map { $_->{mntpoint} = $_->{unsafeMntpoint} = "/mnt/sunos" . ($v && ++$v) } @sunos;