summaryrefslogtreecommitdiff
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
parentc606668f48896a8736fefb3df7ef637ad8645d45 (diff)
allow freezing of release so that tlmgr warns
git-svn-id: svn://tug.org/texlive/trunk@14311 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl6
-rw-r--r--Master/tlpkg/tlpsrc/00texlive.installation.tlpsrc4
2 files changed, 10 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.
diff --git a/Master/tlpkg/tlpsrc/00texlive.installation.tlpsrc b/Master/tlpkg/tlpsrc/00texlive.installation.tlpsrc
index 70506160490..cb8a5c3d36d 100644
--- a/Master/tlpkg/tlpsrc/00texlive.installation.tlpsrc
+++ b/Master/tlpkg/tlpsrc/00texlive.installation.tlpsrc
@@ -43,3 +43,7 @@ depend opt_sys_info:/usr/local/info
depend opt_sys_man:/usr/local/man
depend opt_install_docfiles:1
depend opt_install_srcfiles:1
+#
+# if we want to make a dist frozen uncomment that and tlmgr will bail out
+# telling that TLNNNN is frozen
+#depend opt_frozen:1