diff options
Diffstat (limited to 'Master/texmf-dist')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index c2fad3f1e62..8c419844a45 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -2573,7 +2573,7 @@ sub action_update { # don't do anything if we have been invoked in a strange way if (!@todo) { if ($opts{"self"}) { - info("$prg: no updates for tlmgr present.\n"); + info("$prg: no self-updates for tlmgr available.\n"); } else { tlwarn("$prg update: please specify a list of packages, --all, or --self.\n"); return ($F_ERROR); @@ -3418,8 +3418,9 @@ sub action_update { } # if a real update from default disk location didn't find anything, - # warn if nothing is updated. - if (!(@new || @updated)) { + # 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 ($remotetlpdb->media ne "NET" && $remotetlpdb->media ne "virtual" |