summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-07-18 08:29:16 +0000
committerNorbert Preining <preining@logic.at>2009-07-18 08:29:16 +0000
commitb149e3de29cb7dee482db53fb9c509abf7df327b (patch)
tree45a16186f6b417736d95c7c8af05711bcb9dd1c7 /Master/texmf
parentc606668f48896a8736fefb3df7ef637ad8645d45 (diff)
allow freezing of release so that tlmgr warns
git-svn-id: svn://tug.org/texlive/trunk@14311 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 2d328a4c9b4..3c6338db3e8 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -3131,6 +3131,12 @@ sub init_tlmedia {
$texlive_release !~ m/^$TeXLive::TLConfig::ReleaseYear/) {
die "The release version of the installation source and the installation media\ndo not agree: source: $texlive_release, media: $TeXLive::TLConfig::ReleaseYear\nPlease fix your location $location";
}
+ #
+ # check for being frozen
+ if ($tlmediatlpdb->option("frozen")) {
+ tlwarn("TeX Live $TeXLive::TLConfig::ReleaseYear is frozen and will not be updated anymore.\nPlease consider updating to the next release.\n");
+ exit(1);
+ }
# save remote database if it is a net location
# make sure that the writeout of the tlpdb is done in UNIX mode
# since otherwise the sha256 will change.