summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-23 16:21:35 +0000
committerKarl Berry <karl@freefriends.org>2015-05-23 16:21:35 +0000
commit5a0dee160199157151c8c855f4857eb5cc570548 (patch)
treeca25a619fb9188fba81f4364060e5eaaa6ace2ff /Master/install-tl
parent9a811e6c5dacaa01eb82a2480787a0c5373c35c1 (diff)
copy release-texlive.txt explicitly
git-svn-id: svn://tug.org/texlive/trunk@37482 c570f23f-e606-0410-a88d-b1316a301751
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();