summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-08-07 18:16:47 +0000
committerOlivier Blin <oblin@mandriva.com>2009-08-07 18:16:47 +0000
commit99a030b1125b405864a6dac841ca6ee3b8413951 (patch)
treefb00e526326420e414ae4d026e70e418b24f4a8d /perl-install/install/any.pm
parent335750cf319ffb81c431334dff3b58b39c670f15 (diff)
downloaddrakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar
drakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar.gz
drakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar.bz2
drakx-99a030b1125b405864a6dac841ca6ee3b8413951.tar.xz
drakx-99a030b1125b405864a6dac841ca6ee3b8413951.zip
do not write /etc/fstab in local_install mode
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 4d925cc91..c92bc35c8 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -1287,7 +1287,7 @@ sub set_security {
sub write_fstab {
my ($o) = @_;
fs::write_fstab($o->{all_hds}, $::prefix)
- if !$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/ || $o->{migrate_device_names};
+ if !$::local_install && (!$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/ || $o->{migrate_device_names});
}
sub adjust_files_mtime_to_timezone() {