summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPDB.pm
diff options
context:
space:
mode:
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';