From 23538f26e9cd7dc1c7fc392ad6282587559ce3e1 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 18 Oct 2013 05:23:26 +0000 Subject: fix self update on win32 with multiple repositories git-svn-id: svn://tug.org/texlive/trunk@31939 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Master') 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"; -- cgit v1.2.3