summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-19 23:20:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-19 23:20:19 +0000
commit528338fa75e8ceedbf17763bf5a5c094e92d0fe8 (patch)
treeeba70b060fea721ded1b6f1fb36462730f5390ee /perl-install/install_steps.pm
parent8c744cf3d47bf1295ced161e7ef9776a25efeeb8 (diff)
downloaddrakx-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar
drakx-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar.gz
drakx-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar.bz2
drakx-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar.xz
drakx-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.zip
rename isCdNotEjectable in usingRamdisk, ensure no files are removed unless we're in ramdisk
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 29e7d5464..8cc7e7175 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -183,8 +183,8 @@ sub doPartitionDisksAfter {
}
cat_("/proc/mounts") =~ m|(\S+)\s+/tmp/image nfs| &&
- !grep { $_->{mntpoint} eq "/mnt/nfs" } @{$o->{manualFstab} || []} and
- push @{$o->{manualFstab}}, { type => "nfs", mntpoint => "/mnt/nfs", device => $1, options => "noauto,ro,nosuid,rsize=8192,wsize=8192" };
+ !grep { $_->{mntpoint} eq "/mnt/nfs" } @{$o->{all_hds}{nfss}} and
+ push @{$o->{all_hds}{nfss}}, { type => 'nfs', mntpoint => "/mnt/nfs", device => $1, options => "noauto,ro,nosuid,rsize=8192,wsize=8192" };
}
#------------------------------------------------------------------------------