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.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 4f6c8fd5415..4f01c5899c4 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -994,9 +994,9 @@ sub sizes_of_packages {
$root =~ s!file://*!/!i;
$root = abs_path($root);
if (-d "$root/$Archive") {
- $media = 'CD';
+ $media = 'local_compressed';
} elsif (-d "$root/texmf/web2c") {
- $media = 'DVD';
+ $media = 'local_uncompressed';
} else {
die "$0: that should not happen, no proper location found!";
}
@@ -1010,7 +1010,7 @@ sub sizes_of_packages {
warn "STRANGE: $p not to be found in ", $self->root;
next;
}
- if ($media ne 'DVD') {
+ if ($media ne 'local_uncompressed') {
# we use the container size as the measuring unit since probably
# downloading will be the limiting factor
$tlpsizes{$p} = $tlpobjs{$p}->containersize;