diff options
| author | fukachan <fukachan> | 2003-12-21 14:39:04 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-12-21 14:39:04 +0000 |
| commit | ffa6d894b5ae3bd8ccfb5eba35dbcf49beba5a0f (patch) | |
| tree | eb99b373bd90a8d4fc7ef5c61b9543b578172283 /fml/lib/FML/Install.pm | |
| parent | ba7f1dbaa5a1e63291f0440f402054afe143405e (diff) | |
| download | fml8-ffa6d894b5ae3bd8ccfb5eba35dbcf49beba5a0f.tar.gz fml8-ffa6d894b5ae3bd8ccfb5eba35dbcf49beba5a0f.tar.bz2 fml8-ffa6d894b5ae3bd8ccfb5eba35dbcf49beba5a0f.zip | |
remove hard-coded language dependent information by moving it to
$nl_template_files in install.cf.in.
Diffstat (limited to 'fml/lib/FML/Install.pm')
| -rw-r--r-- | fml/lib/FML/Install.pm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fml/lib/FML/Install.pm b/fml/lib/FML/Install.pm index 39496b88..edd27a70 100644 --- a/fml/lib/FML/Install.pm +++ b/fml/lib/FML/Install.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Install.pm,v 1.7 2003/08/23 04:35:27 fukachan Exp $ +# $FML: Install.pm,v 1.8 2003/10/26 02:04:08 fukachan Exp $ # package FML::Install; @@ -42,8 +42,6 @@ FML::Install - utility functions used in installation } } - # XXX-TODO: check uid, gid - $installer->install_main_cf(); $installer->install_sample_cf_files(); $installer->install_default_config_files(); @@ -95,6 +93,9 @@ sub new } +# XXX-TODO: check uid, gid method + + =head1 CONFIG =head2 load_install_cf( $cf ) @@ -288,11 +289,12 @@ sub install_default_config_files $self->disable_message(); + # XXX change file name of components of $nl_template_files into + # XXX ${file_name}.{ja,en,...} my $nl_template_files = $config->get_as_array_ref('nl_template_files'); for my $file (@$nl_template_files) { - # XXX-TODO: how should we handle natural language .cf ? # XXX src = relative path, dst = absolute path - my $src = File::Spec->catfile("fml", "etc", $file . ".ja"); + my $src = File::Spec->catfile("fml", "etc", $file); my $dst = File::Spec->catfile($config_dir, $file); # always override. |
