summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2017-10-10 02:52:08 +0000
committerNorbert Preining <preining@logic.at>2017-10-10 02:52:08 +0000
commitcbe7fe5a86f5370dbf8e9b4a129813cd5c6f0084 (patch)
tree2837d0b89b7440c84f317739ecc8cccd18843a33
parent28fd733b8fc16676919aa978b27320b05353ad72 (diff)
only give critical warnings when not in machine-readable mode
git-svn-id: svn://tug.org/texlive/trunk@45516 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index a5899b4bafe..b07a8e199e4 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -2379,7 +2379,7 @@ sub action_update {
}
my $dry_run_cont = $opts{"dry-run"} && ($opts{"dry-run"} < 0);
if ( !$dry_run_cont && !$opts{"self"} && @critical) {
- critical_updates_warning();
+ critical_updates_warning() if (!$::machinereadable);
if ($opts{"force"}) {
tlwarn("$prg: Continuing due to --force.\n");
} elsif ($opts{"list"}) {
@@ -3359,7 +3359,7 @@ sub action_install {
# check for updates to tlmgr itself, and die unless --force is given
if (!$opts{"usermode"}) {
if (check_for_critical_updates( $localtlpdb, $remotetlpdb)) {
- critical_updates_warning();
+ critical_updates_warning() if (!$::machinereadable);
if ($opts{"force"}) {
tlwarn("$prg: Continuing due to --force\n");
} else {