diff options
author | Norbert Preining <preining@logic.at> | 2013-07-03 04:25:56 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2013-07-03 04:25:56 +0000 |
commit | ca0e507a0a79afc9ffa63e3d3d1dbf4e2f3975b4 (patch) | |
tree | 00e39333ca9cd9c8a57c1b2e55672fc78e8ac0a9 /Master/texmf-dist/scripts | |
parent | df757e0f558371cda5dafc9a7bbd7c123b586b13 (diff) |
fix borken backup container for broken RELOC package in local tlpdb
git-svn-id: svn://tug.org/texlive/trunk@31082 c570f23f-e606-0410-a88d-b1316a301751
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"}, |