summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-02-11 05:31:26 +0000
committerNorbert Preining <preining@logic.at>2010-02-11 05:31:26 +0000
commit4c543b199e3cd96478f2418f805cf8c11eec1f37 (patch)
tree826a87671e1e9c0ab49af8fc3abd4245aa3e0092 /Master/tlpkg/TeXLive
parent531eb9e6859720a3fc049a7b28b7e63fb6d34595 (diff)
TLMedia: make sure that when saving the package into the local tlpdb
the relocate prefix is cleared git-svn-id: svn://tug.org/texlive/trunk@16965 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLMedia.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLMedia.pm b/Master/tlpkg/TeXLive/TLMedia.pm
index 027eb3e1734..31d128fe50c 100644
--- a/Master/tlpkg/TeXLive/TLMedia.pm
+++ b/Master/tlpkg/TeXLive/TLMedia.pm
@@ -245,9 +245,11 @@ sub install_package {
$tlpobj->clear_docfiles;
}
# if a package is relocatable we have to cancel the reloc prefix
+ # and unset the relocated setting
# before we save it to the local tlpdb
if ($tlpobj->relocated) {
$tlpobj->cancel_reloc_prefix;
+ $tlpobj->relocated(0);
}
# we have to write out the tlpobj file since it is contained in the
# archives (.tar.xz) but at DVD install time we don't have them