summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
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();