diff options
author | Norbert Preining <preining@logic.at> | 2009-06-06 16:57:11 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-06-06 16:57:11 +0000 |
commit | 8b4b86d3c266463d7516622d3709b04f5e60ba65 (patch) | |
tree | 4ea4a658a6da460d19ec3880d46350518f9ee940 /Master | |
parent | f8d4d9017cefd1e852971cd17c934530703b89ab (diff) |
support adding of new collections
git-svn-id: svn://tug.org/texlive/trunk@13645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 7149c325dd9..26b4d2dcc6b 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -1338,15 +1338,15 @@ sub action_update { # A \ B set of packages removed on the server # A \cup B set of packages which should be checked for forcible removal # - my @colls = (); - for my $p ($localtlpdb->collections) { - push @colls, $p + my @schms = (); + for my $p ($localtlpdb->schemes) { + push @schms, $p if defined($tlmediatlpdb->get_package($p)); } my @localexpansion = - $localtlpdb->expand_dependencies($localtlpdb, @colls); + $localtlpdb->expand_dependencies($localtlpdb, @schms); my @remoteexpansion = - $tlmediatlpdb->expand_dependencies($localtlpdb, @colls); + $tlmediatlpdb->expand_dependencies($localtlpdb, @schms); for my $p (@remoteexpansion) { $newpkgs{$p} = 1; } |