summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-09-13 14:48:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-09-13 14:48:00 +0000
commitdd7214d4c9097f1fb395a4323c19754bc933184d (patch)
tree8e4ca0ef2c69bfe912f1039781536a74e1586282
parent462ed5be8cda41cf67197bf8c2e21ead72a77209 (diff)
downloaddrakx-backup-do-not-use-dd7214d4c9097f1fb395a4323c19754bc933184d.tar
drakx-backup-do-not-use-dd7214d4c9097f1fb395a4323c19754bc933184d.tar.gz
drakx-backup-do-not-use-dd7214d4c9097f1fb395a4323c19754bc933184d.tar.bz2
drakx-backup-do-not-use-dd7214d4c9097f1fb395a4323c19754bc933184d.tar.xz
drakx-backup-do-not-use-dd7214d4c9097f1fb395a4323c19754bc933184d.zip
don't write fstab on upgrade (to workaround the fact that many entries are dropped)
-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 aea1063b7..04f3279a0 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1121,7 +1121,7 @@ sub disable_user_view {
sub write_fstab {
my ($o) = @_;
- fs::write_fstab($o->{all_hds}, $o->{prefix}) if !$::live;
+ fs::write_fstab($o->{all_hds}, $o->{prefix}) if !$::live && !$o->{isUpgrade};
}
my @bigseldom_used_groups = (