summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2013-10-18 05:23:26 +0000
committerNorbert Preining <preining@logic.at>2013-10-18 05:23:26 +0000
commit23538f26e9cd7dc1c7fc392ad6282587559ce3e1 (patch)
tree9cd41d9af39c2ee71163b689bb618c484d32d328 /Master
parent2d163184a00bd3e4d1541d7e35f49d27ca5314d1 (diff)
fix self update on win32 with multiple repositories
git-svn-id: svn://tug.org/texlive/trunk@31939 c570f23f-e606-0410-a88d-b1316a301751
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";