From b149e3de29cb7dee482db53fb9c509abf7df327b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 18 Jul 2009 08:29:16 +0000 Subject: allow freezing of release so that tlmgr warns git-svn-id: svn://tug.org/texlive/trunk@14311 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 6 ++++++ Master/tlpkg/tlpsrc/00texlive.installation.tlpsrc | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'Master') 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 -- cgit v1.2.3