summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-30 21:50:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-30 21:50:08 +0000
commit7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2 (patch)
treeb39f9f4f784ebea5ad352fd62c6125480c679bf4 /perl-install/install_any.pm
parent5b074d5c8cfd6623a15f29c37e565ce41faa55fc (diff)
downloaddrakx-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar
drakx-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar.gz
drakx-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar.bz2
drakx-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.tar.xz
drakx-7a9b29dbe29f5c09f3bfff1f36fc469f4256acf2.zip
no_comment
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 45864b015..12a23ee08 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -623,7 +623,7 @@ sub suggest_mount_points {
my $d = $handle->{dir};
my ($mnt) = grep { -e "$d/$l{$_}" } keys %l;
$mnt ||= (stat("$d/.bashrc"))[4] ? '/root' : '/home/user' . ++$user if -e "$d/.bashrc";
- $mnt ||= (grep { -d $_ && (stat($_))[4] >= 500 } glob_("$d")) && '/home';
+ $mnt ||= (grep { -d $_ && (stat($_))[4] >= 500 && -e "$_/.bashrc" } glob_("$d")) && '/home';
next if $uniq && fsedit::mntpoint2part($mnt, \@parts);
$part->{mntpoint} = $mnt;