diff options
author | Norbert Preining <preining@logic.at> | 2009-08-05 16:19:41 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-08-05 16:19:41 +0000 |
commit | edd31659b22ab4d3718918fca2ac2506fe118474 (patch) | |
tree | 55a9f86d0262db51a6e5c31c960c98ca1eeefbd1 /Master/tlpkg/bin/tl-update-tlpdb | |
parent | 272f667ff1987bad105a0f13f0337e9813671862 (diff) |
move all the options from the .tlpsrc files to hashes in TLConfig
and initialize the respective tlpobjs (00texlive.installation and
00texlive.config) from the values in these hashes. Update tl-update-tlpdb
to use that, and add some comments to the tlpsrc files
git-svn-id: svn://tug.org/texlive/trunk@14542 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlpdb')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-tlpdb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlpdb b/Master/tlpkg/bin/tl-update-tlpdb index 9b6b5c3c2eb..3b74e04f60d 100755 --- a/Master/tlpkg/bin/tl-update-tlpdb +++ b/Master/tlpkg/bin/tl-update-tlpdb @@ -179,6 +179,10 @@ sub create_tlpdb } if ($tlp->name eq "00texlive.config") { my @bar = $tlp->depends; + for my $k (keys %TeXLive::TLConfig::TLPDBConfigs) { + push @bar, "$k/" . $TeXLive::TLConfig::TLPDBConfigs{$k}; + } + # add the latest revision push @bar, "revision/".$tltree->revision; $tlp->depends (@bar); } @@ -189,6 +193,9 @@ sub create_tlpdb my @archs = $tltree->architectures; $tldb->setting("available_architectures", @archs); + # reset options to what we have by default + $tldb->add_default_options(); + return($tldb, $src_count); } |