summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
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