diff options
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl index 575bb5b1cab..63159c30fa5 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -461,7 +461,7 @@ if (!$opt_custom_bin && (platform() eq "i386-cygwin")) { # check command line arguments if given if ($opt_location) { my $tmp = $opt_location; - if ($tmp =~ m!^(http|ftp)://!i) { + if ($tmp =~ m!^(https?|ftp)://!i) { push @media_available, "NET#$tmp"; } elsif ($tmp =~ m!^(rsync|)://!i) { @@ -636,7 +636,7 @@ sub only_load_remote { $location = $opt_location; $location = $selected_location if defined($selected_location); $location || ($location = "$::installerdir"); - if ($location =~ m!^(ctan$|(http|ftp)://)!i) { + if ($location =~ m!^(ctan$|(https?|ftp)://)!i) { $location =~ s,/(tlpkg|archive)?/*$,,; # remove any trailing tlpkg or / if ($location =~ m/^ctan$/i) { $location = TeXLive::TLUtils::give_ctan_mirror(); |