summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-06 00:51:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-06 00:51:03 +0000
commitafba7573387ce1b4ac3b9fa57ba60cc3aec9f020 (patch)
tree03d86d5291d8317727f1b0e2080f3f0824dfd400 /perl-install
parentfd3f63082713687f3eae56b3e40e4e0db877df87 (diff)
downloaddrakx-backup-do-not-use-afba7573387ce1b4ac3b9fa57ba60cc3aec9f020.tar
drakx-backup-do-not-use-afba7573387ce1b4ac3b9fa57ba60cc3aec9f020.tar.gz
drakx-backup-do-not-use-afba7573387ce1b4ac3b9fa57ba60cc3aec9f020.tar.bz2
drakx-backup-do-not-use-afba7573387ce1b4ac3b9fa57ba60cc3aec9f020.tar.xz
drakx-backup-do-not-use-afba7573387ce1b4ac3b9fa57ba60cc3aec9f020.zip
add write_fstab
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 56a2ab548..65857a004 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -882,7 +882,8 @@ sub disable_user_view {
sub write_fstab {
my ($o) = @_;
- fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount}, lang::fs_options($o->{lang}));
+ fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount}, lang::fs_options($o->{lang}))
+ if !$::live;
}