summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-10-29 22:25:51 +0000
committerNorbert Preining <preining@logic.at>2008-10-29 22:25:51 +0000
commit92cc3997fac50b1bdd559231dba76bc27b324214 (patch)
treebbc30099ad54ba4ce8113d67ae63a2d2f5050c2f /Master/install-tl
parent6330dfef663ae379b8d56f0a5b041384ee9f1360 (diff)
apply the include-schemes patch to install-tl, and rename the patch
git-svn-id: svn://tug.org/texlive/trunk@11114 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index c43d198f51a..3f90ebe861d 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -557,6 +557,22 @@ sub do_installation {
&$h();
}
do_postinst_stuff();
+ # now we save every scheme that is fully covered by the stuff we have
+ # installed to the $localtlpdb
+ foreach my $s ($tlpdb->schemes) {
+ my $stlp = $tlpdb->get_package($s);
+ die ("That cannot happen, $s not defined in tlpdb") unless defined($stlp);
+ my $incit = 1;
+ foreach my $d ($stlp->depends) {
+ if (!defined($localtlpdb->get_package($d))) {
+ $incit = 0;
+ last;
+ }
+ }
+ if ($incit) {
+ $localtlpdb->add_tlpobj($stlp);
+ }
+ }
$localtlpdb->save unless $vars{'from_dvd'};
foreach $h (@::end_install_hook) {
&$h();