summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-01-21 11:02:29 +0000
committerNorbert Preining <preining@logic.at>2009-01-21 11:02:29 +0000
commit7d7098bd74dddac3ff29dceabea85650ba0efd06 (patch)
tree44adea47341e7c533c65f8c6722dd3492019d4d8 /Master/tlpkg/bin
parent3437c9b9c0b095bed02870bf5b2b16c055e61411 (diff)
add possibility to skip some package in tl-update-containers by dropping
their names into Master/tlpkg/disabled-packages-for-tlnet git-svn-id: svn://tug.org/texlive/trunk@11938 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-containers9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers
index a7ae8e9c69c..3bb67458355 100755
--- a/Master/tlpkg/bin/tl-update-containers
+++ b/Master/tlpkg/bin/tl-update-containers
@@ -120,6 +120,15 @@ sub main
for my $pkg (@packs) {
# by definition, any 00texlive... package does not need containers.
next if $pkg =~ /00texlive/;
+ # we check for the existence of Master/tlpkg/disabled-packages-for-tlnet
+ # and if it is present any package listed therein will not be
+ # updated in tlnet
+ if (-r "$Master/tlpkg/disabled-packages-for-tlnet") {
+ if (!system("grep", "-q", $pkg, "Master/tlpkg/disabled-packages-for-tlnet")) {
+ tlwarn("$pkg disabled for tlnet updates (tlpkg/disabled-packages-for-tlnet)\n");
+ next,
+ }
+ }
my $oldrev = 0;
if (-r "$opt_containerdir/$pkg.tar.$type"
&& defined($archiverevs{$pkg})) {