diff options
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index eea78bff7d1..45d8d0b0688 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -2811,6 +2811,15 @@ sub action_update { "/$totalnr] auto-remove: $p ... "); } if (!$opts{"dry-run"}) { + # older tlmgr forgot to clear the relocated bit when saving a tlpobj + # into the local tlpdb, although the paths were rewritten. + # We have to clear this bit otherwise the make_container calls below + # for creating the backup will create some rubbish! + # Same as further down in the update part! + if ($pkg->relocated) { + debug("tlmgr: warn, relocated bit set for $p, but that is wrong!\n"); + $pkg->relocated(0); + } if ($opts{"backup"}) { $pkg->make_container("xz", $root, $opts{"backupdir"}, |