diff options
Diffstat (limited to 'Master/install-tl.pl')
-rwxr-xr-x | Master/install-tl.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/install-tl.pl b/Master/install-tl.pl index 8ad5909c9ef..42de4acb40c 100755 --- a/Master/install-tl.pl +++ b/Master/install-tl.pl @@ -355,6 +355,19 @@ sub scheme_menu { ++$index; } + foreach $entry (keys %vars) { + if ($entry=~/^inst-(Documentation|Package|TLCore)/) { + $vars{"$entry"}=0; + } + } + + my $scheme_tlpobj = $tlpdb->get_package($vars{'selected_scheme'}); + if (defined ($scheme_tlpobj)) { + foreach my $dependent ($scheme_tlpobj->depends) { + $vars{"inst-$dependent"}=1; + } + } + other_options; print 'Press key to select a scheme: '; |