diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 711494ef45b..620e8f3a29b 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -3266,14 +3266,15 @@ sub action_update { # warn if nothing is updated. Unless they said --self, in which case # we've already reported it. if (!(@new || @updated) && ! $opts{"self"}) { - info("$prg: no updates available\n") if (!$::machinereadable); - if ($remotetlpdb->media ne "NET" - && $remotetlpdb->media ne "virtual" - && !$opts{"dry-run"} - && !$opts{"repository"} - && !$ENV{"TEXLIVE_INSTALL_ENV_NOCHECK"} - ) { - tlwarn(<<END_DISK_WARN); + if (!$::machinereadable) { + info("$prg: no updates available\n"); + if ($remotetlpdb->media ne "NET" + && $remotetlpdb->media ne "virtual" + && !$opts{"dry-run"} + && !$opts{"repository"} + && !$ENV{"TEXLIVE_INSTALL_ENV_NOCHECK"} + ) { + tlwarn(<<END_DISK_WARN); $prg: Your installation is set up to look on the disk for updates. To install from the Internet for this one time only, run: tlmgr -repository $TeXLiveURL ACTION ARG... @@ -3282,6 +3283,7 @@ where ACTION is install, update, etc.; see tlmgr -help if needed. To change the default for all future updates, run: tlmgr option repository $TeXLiveURL END_DISK_WARN + } } } return ($ret); |