From edd31659b22ab4d3718918fca2ac2506fe118474 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 5 Aug 2009 16:19:41 +0000 Subject: 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 --- Master/tlpkg/bin/tl-update-tlpdb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Master/tlpkg/bin/tl-update-tlpdb') 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); } -- cgit v1.2.3