From cbe7fe5a86f5370dbf8e9b4a129813cd5c6f0084 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 10 Oct 2017 02:52:08 +0000 Subject: only give critical warnings when not in machine-readable mode git-svn-id: svn://tug.org/texlive/trunk@45516 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Master') 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 { -- cgit v1.2.3