diff options
author | Norbert Preining <preining@logic.at> | 2008-05-06 06:27:59 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-05-06 06:27:59 +0000 |
commit | 120b269bc3ccbfaa32800cd27a39b053f810c266 (patch) | |
tree | 9546bbf17e90f86c7e12867c871b18b25a8c8984 /Master/install-tl | |
parent | 2f9f5629b2cde3588e8449059524f7aa7e549e94 (diff) |
create package 00texlive-installation.config already in the Master
make changes that running from checkout is working
git-svn-id: svn://tug.org/texlive/trunk@7888 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/Master/install-tl b/Master/install-tl index 4b6557a854d..be9942ca293 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -770,36 +770,17 @@ sub do_install_packages { # into the local tlpdb: # - should links be set, and if yes, the destination (bin,man,info) sub save_options_into_tlpdb { - my $tlp = new TeXLive::TLPOBJ; - $tlp->name("00texlive-installation.config"); - $tlp->category("TLCore"); - my @deps; - push @deps, "platform/$::_platform_"; - if ($::_media_ eq 'NET') { - push @deps, "location/$TeXLiveURL"; - } else { - push @deps, "location/" . abs_path($::installerdir); - } - if ($vars{'option_letter'}) { - push @deps, "letter"; - } - if ($vars{'option_fmt'}) { - push @deps, "formats"; - } - if ($vars{'option_symlinks'}) { - push @deps, "symlinks"; - push @deps, "sys_bin/$vars{'sys_bin'}"; - push @deps, "sys_info/$vars{'sys_info'}"; - push @deps, "sys_man/$vars{'sys_man'}"; - } - if ($vars{'option_doc'}) { - push @deps, "docfiles"; - } - if ($vars{'option_src'}) { - push @deps, "srcfiles"; - } - $tlp->depends(@deps); - $localtlpdb->add_tlpobj($tlp); + $localtlpdb->option_platform($::_platform_); + $localtlpdb->option_location( + (($::_media_ eq 'NET') ? "$TeXLiveURL" : abs_path($::installerdir))); + $localtlpdb->option_paper($vars{'option_letter'} ? "letter" : "a4"); + $localtlpdb->option_formats($vars{'option_fmt'} ? "1" : "0"); + $localtlpdb->option_symlinks($vars{'option_symlinks'} ? "1" : "0"); + $localtlpdb->option_sys_bin($vars{'sys_bin'}); + $localtlpdb->option_sys_info($vars{'sys_info'}); + $localtlpdb->option_sys_man($vars{'sys_man'}); + $localtlpdb->option_docfiles($vars{'option_doc'} ? "1" : "0"); + $localtlpdb->option_srcfiles($vars{'option_doc'} ? "1" : "0"); $localtlpdb->save(); } |