texlive[44710] Master/texmf-dist/scripts/texlive/tlmgrgui.pl:
commits+preining at tug.org
commits+preining at tug.org
Tue Jun 27 15:51:09 CEST 2017
Revision: 44710
http://tug.org/svn/texlive?view=revision&revision=44710
Author: preining
Date: 2017-06-27 15:51:08 +0200 (Tue, 27 Jun 2017)
Log Message:
-----------
tlmgrgui: fix CTAN mirror triggering switch to single repo mode
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/tlmgrgui.pl
Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgrgui.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgrgui.pl 2017-06-27 10:30:32 UTC (rev 44709)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgrgui.pl 2017-06-27 13:51:08 UTC (rev 44710)
@@ -2646,8 +2646,10 @@
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();
+ }
}
}
More information about the tex-live-commits
mailing list