summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 7fccfb7a2..dc658be44 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -631,7 +631,7 @@ sub suggest_mount_points {
$part->{mntpoint} = $mnt;
#- try to find other mount points via fstab
- fs::get_mntpoints_from_fstab(\@parts, $d) if $mnt eq '/';
+ fs::get_mntpoints_from_fstab(\@parts, $d, $uniq) if $mnt eq '/';
}
#- $_->{mntpoint} || fsedit::suggest_part($_, $hds) foreach @parts;
@@ -649,7 +649,7 @@ sub use_root_part {
my ($fstab, $part, $prefix) = @_;
{
my $handle = any::inspect($part, $prefix) or die;
- fs::get_mntpoints_from_fstab($fstab, $handle->{dir});
+ fs::get_mntpoints_from_fstab($fstab, $handle->{dir}, 'uniq');
}
map { $_->{mntpoint} = 'swap_upgrade' } grep { isSwap($_) } @$fstab; #- use all available swap.