summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-06 00:48:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-06 00:48:19 +0000
commit9751804098b01f6413629e9850ee3286c81e521b (patch)
tree8271d913f24dd1e51ee04774ab5ff3a658bcad96 /perl-install/install_any.pm
parent69b6d6056c98dc6c647ff69fd7b773ef21ca3519 (diff)
downloaddrakx-9751804098b01f6413629e9850ee3286c81e521b.tar
drakx-9751804098b01f6413629e9850ee3286c81e521b.tar.gz
drakx-9751804098b01f6413629e9850ee3286c81e521b.tar.bz2
drakx-9751804098b01f6413629e9850ee3286c81e521b.tar.xz
drakx-9751804098b01f6413629e9850ee3286c81e521b.zip
create install_any::write_fstab and use it
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 04faa525d..56a2ab548 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -880,4 +880,10 @@ sub disable_user_view {
substInFile { s/^Browser=.*/Browser=0/ } "$prefix/etc/X11/gdm/gdm.conf";
}
+sub write_fstab {
+ my ($o) = @_;
+ fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount}, lang::fs_options($o->{lang}));
+}
+
+
1;