summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-10-10 22:05:42 +0000
committerKarl Berry <karl@freefriends.org>2017-10-10 22:05:42 +0000
commit6a63258e7383791a5ff02ec293de618655799534 (patch)
tree78cc6a0355d05eec07117d97fba51cd6363535d8 /Build
parentcbe7fe5a86f5370dbf8e9b4a129813cd5c6f0084 (diff)
arara (10oct17)
git-svn-id: svn://tug.org/texlive/trunk@45517 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texlive/tlmgr.pl22
1 files changed, 18 insertions, 4 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
index 7ddd7f0ebee..d086264bcb1 100755
--- a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
+++ b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
@@ -1,13 +1,13 @@
#!/usr/bin/env perl
-# $Id: tlmgr.pl 45286 2017-09-13 01:55:27Z preining $
+# $Id: tlmgr.pl 45499 2017-10-08 14:26:19Z preining $
#
# Copyright 2008-2017 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
-my $svnrev = '$Revision: 45286 $';
-my $datrev = '$Date: 2017-09-13 03:55:27 +0200 (Wed, 13 Sep 2017) $';
+my $svnrev = '$Revision: 45499 $';
+my $datrev = '$Date: 2017-10-08 16:26:19 +0200 (Sun, 08 Oct 2017) $';
my $tlmgrrevision;
my $prg;
if ($svnrev =~ m/: ([0-9]+) /) {
@@ -2363,6 +2363,8 @@ sub action_update {
my @excluded_pkgs = ();
if ($opts{"exclude"}) {
@excluded_pkgs = @{$opts{"exclude"}};
+ } elsif ($config{'update-exclude'}) {
+ @excluded_pkgs = @{$config{'update-exclude'}};
}
if (!$opts{"list"}) {
@@ -6812,6 +6814,10 @@ sub load_options_from_config {
tlwarn("$prg: $fn: Unknown value for persistent-downloads: $val\n");
}
+ } elsif ($key eq "update-exclude") {
+ my @exs = split(/,/, $val);
+ $config{'update-exclude'} = \@exs;
+
} elsif ($key eq "gui-lang") {
$config{'gui-lang'} = $val;
@@ -8307,6 +8313,10 @@ for auto-installation, auto-removal, or reinstallation of a forcibly
removed package, C<tlmgr> quits with an error message. Excludes are not
supported in these circumstances.
+This option can also be set permanently in the tlmgr config file with
+the key C<update-exclude>.
+
+
=item B<--no-auto-remove> [I<pkg>]...
By default, C<tlmgr> tries to remove packages which have disappeared on
@@ -8444,6 +8454,10 @@ command-line option.
=item C<require-verification>, value 0 or 1 (default 0), same as
command-line option.
+=item C<update-exclude>, value: comma-separated list of packages
+(no space allowed). Same as the command line option C<--exclude>
+for the action C<update>.
+
=item C<verify-downloads>, value 0 or 1 (default 1), same as
command-line option.
@@ -9083,7 +9097,7 @@ This script and its documentation were written for the TeX Live
distribution (L<http://tug.org/texlive>) and both are licensed under the
GNU General Public License Version 2 or later.
-$Id: tlmgr.pl 45286 2017-09-13 01:55:27Z preining $
+$Id: tlmgr.pl 45499 2017-10-08 14:26:19Z preining $
=cut
# to remake HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html