diff options
-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; } |