diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-11 16:14:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-11 16:14:33 +0000 |
commit | 7033bbab7d1e6ece677121219fae978a79d2196b (patch) | |
tree | b01701c136ca26d132f69dbcaead46a95f3164a2 /Master/install-tl | |
parent | ac93d0106be1df6cc3cd1bfb0101ef7db97a2706 (diff) |
merge language menu into regular collections menu
git-svn-id: svn://tug.org/texlive/trunk@30398 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/Master/install-tl b/Master/install-tl index c0cdebaaafa..b6d9d2bacbb 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -114,7 +114,6 @@ my $default_scheme='scheme-full'; # some arrays where the lists of collections to be installed are saved # our for menus our @collections_std; -our @collections_lang; # The global variable %vars is an associative list which contains all # variables and their values which can be changed by the user. @@ -1430,13 +1429,7 @@ sub initialize_collections { if ($tlpobj->category eq "Collection") { $vars{"$pkg"}=0; ++$vars{'n_collections_available'}; - if ($pkg=~/collection-lang/) { - push @collections_lang, $pkg; - } elsif ($pkg =~ /documentation/) { - push @collections_std, $pkg; - } else { - push @collections_std, $pkg; - } + push (@collections_std, $pkg); } } my $scheme_tlpobj = $tlpdb->get_package($default_scheme); @@ -1876,18 +1869,6 @@ sub flushlog { } } -sub check_on_lang_collection_installed { - # we check that at least one lang collection is installed: - foreach my $c (@collections_lang) { - return 1 if $vars{"$c"}; - } - if ($vars{"selected_scheme"} eq "scheme-context") { - # context - return 1; - } - return 0; -} - sub do_cleanup { # now open the log file and write out the log lines if needed. # the user could have given the -logfile option in which case all the |