summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-15 15:30:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-15 15:30:26 +0000
commitd41449068bc0df24cf199b02540343a4dc6ec93c (patch)
tree5e0d96cb5e6f7a765da68d89e5f3e2a80190482b /perl-install/fsedit.pm
parent023feb47d4fc6d04343638288fba247b001f65fd (diff)
downloaddrakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar.gz
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar.bz2
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.tar.xz
drakx-d41449068bc0df24cf199b02540343a4dc6ec93c.zip
rename is_same_part to are_same_partitions (not that much clear, but at least a little)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 8cdfe6d91..5e01c0839 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -335,7 +335,8 @@ sub is_same_hd {
}
}
-sub is_same_part {
+#- are_same_partitions() do not look at the device name since things may have changed
+sub are_same_partitions {
my ($part1, $part2) = @_;
foreach ('start', 'size', 'type', 'rootDevice') {
$part1->{$_} eq $part2->{$_} or return;