summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-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