From 282e3b09880bce47524fd4ddee629b1791ce6c06 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 7 Aug 2019 22:27:00 +0000 Subject: (only_load_remote): ignore trailing /texlive.tlpdb, too. git-svn-id: svn://tug.org/texlive/trunk@51840 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Master/install-tl') diff --git a/Master/install-tl b/Master/install-tl index ddfbb026e74..84a61a9814a 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -775,7 +775,8 @@ sub only_load_remote { $location = $selected_location if defined($selected_location); $location || ($location = "$::installerdir"); if ($location =~ m!^(ctan$|(https?|ftp)://)!i) { - $location =~ s,/(tlpkg|archive)?/*$,,; # remove any trailing tlpkg or / + # remove any trailing tlpkg[/texlive.tlpdb] or / + $location =~ s,/(tlpkg(/texlive\.tlpdb)?|archive)?/*$,,; if ($location =~ m/^ctan$/i) { $location = TeXLive::TLUtils::give_ctan_mirror(); } elsif ($location =~ m/^$TeXLiveServerURL/) { -- cgit v1.2.3