summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl3
1 files changed, 2 insertions, 1 deletions
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/) {