summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPDB.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-07 18:58:34 +0000
committerKarl Berry <karl@freefriends.org>2013-04-07 18:58:34 +0000
commit25fe101524f8eb688fb883418111c0a216bfb0c6 (patch)
treeb30c8a5bef846507b1acf07a23a4b9830c2eab21 /Master/tlpkg/TeXLive/TLPDB.pm
parent335c72669537f06bbf2b4b6e2248fae60c4f38a9 (diff)
first updates for TL13 pretest, and for texmf-dist having everything
git-svn-id: svn://tug.org/texlive/trunk@29725 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPDB.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 4abb1561977..a7c613ddf88 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -279,7 +279,9 @@ sub from_file {
if ($rootpath =~ m,file://*(.*)$,) {
$rootpath = "/$1";
}
- if (-d "$rootpath/texmf/web2c") {
+ if (-d "$rootpath/texmf-dist/web2c") {
+ $media = 'local_uncompressed';
+ } elsif (-d "$rootpath/texmf/web2c") { # older
$media = 'local_uncompressed';
} elsif (-d "$rootpath/$Archive") {
$media = 'local_compressed';