diff options
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index ea8fc60de63..7f681fa3e97 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -2265,14 +2265,16 @@ sub action_update { return; } - if (!(@new || @updated) && ($tlmediasrc->media ne "NET") && $opts{"all"}) { - # for all but net updates we warn if nothing is updated - tlwarn("\nNothing to update.\n"); - tlwarn("\nYour installation is set up to look on the disk for updates.\n"); - tlwarn("To install from the Internet for this one time only, run\n"); - tlwarn(" tlmgr -location $TeXLiveURL\n"); - tlwarn("\nTo change the default for all future updates, run\n"); - tlwarn(" tlmgr option location $TeXLiveURL\n\n"); + if (!(@new || @updated)) { + info("tlmgr: no updates available\n"); + if ($tlmediasrc->media ne "NET") { + # for all but net updates we warn if nothing is updated + tlwarn("\nYour installation is set up to look on the disk for updates.\n"); + tlwarn("To install from the Internet for this one time only, run\n"); + tlwarn(" tlmgr -repository $TeXLiveURL\n"); + tlwarn("\nTo change the default for all future updates, run\n"); + tlwarn(" tlmgr option repository $TeXLiveURL\n\n"); + } } } |