summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLMedia.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-07-06 20:13:52 +0000
committerNorbert Preining <preining@logic.at>2008-07-06 20:13:52 +0000
commit14f72de5b68270f6bc7ad1d14768163466fb4559 (patch)
tree4cdbb2b030d908a16eaf3f48f4a58249d8e400bc /Master/tlpkg/TeXLive/TLMedia.pm
parent56336e2f3405142911c5afe9c657d6903bf80d6a (diff)
perl modules: support file:/ in URLs
git-svn-id: svn://tug.org/texlive/trunk@9306 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLMedia.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLMedia.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLMedia.pm b/Master/tlpkg/TeXLive/TLMedia.pm
index 6f3b70db578..71be3ea3dee 100644
--- a/Master/tlpkg/TeXLive/TLMedia.pm
+++ b/Master/tlpkg/TeXLive/TLMedia.pm
@@ -25,7 +25,7 @@ sub new
# no default by itself ...
# $location = "$TeXLiveURL" unless (defined($location));
# do media autodetection
- if ($location =~ m,http://|ftp://,) {
+ if ($location =~ m,http://|ftp://|file://*,) {
$media = 'NET';
} else {
if (-d "$location/texmf/web2c") {