summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 38dfed650b4..8e344a16d90 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -2014,6 +2014,9 @@ sub write_w32_updater {
(undef, undef, $mediatlp, $maxtlpdb) =
$remotetlpdb->virtual_candidate($pkg);
$repo = $maxtlpdb->root . "/$Archive";
+ # update the media type of the used tlpdb
+ # otherwise later on we stumble when preparing the updater
+ $media = $maxtlpdb->media;
} else {
$mediatlp = $remotetlpdb->get_package($pkg);
$repo = $remotetlpdb->root . "/$Archive";