summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 45d0b6af06b..6264b543852 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -734,6 +734,17 @@ sub do_installation {
$localtlpdb->root("$vars{'TEXDIR'}");
}
if (!$vars{'in_place'}) {
+ # have to do top-level release-texlive.txt as a special file, so
+ # tl-update-images can insert the final version number without
+ # having to remake any packages. But if the source does not exist,
+ # or the destination already exists, don't worry about it (even
+ # though these cases should never arise); it's not that important.
+ #
+ if (-e "$::installerdir/release-texlive.txt"
+ && ! -e "$vars{TEXDIR}/release-texlive.txt") {
+ copy("$::installerdir/release-texlive.txt", "$vars{TEXDIR}/");
+ }
+
calc_depends();
save_options_into_tlpdb();
do_install_packages();