diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgrgui.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl index 4ec43ca0456..920704b72e1 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl @@ -2646,8 +2646,10 @@ sub run_update_functions { sub check_location_on_ctan { # we want to check that if mirror.ctan.org # is used that we select a mirror once - if ($location =~ m/$TeXLive::TLConfig::TeXLiveServerURL/) { - $location = TeXLive::TLUtils::give_ctan_mirror(); + for my $k (keys %repos) { + if ($repos{$k} =~ m/$TeXLive::TLConfig::TeXLiveServerURL/) { + $repos{$k} = TeXLive::TLUtils::give_ctan_mirror(); + } } } |