diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-13 18:33:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-13 18:33:54 +0000 |
commit | 9ac8b08c93d6b47a5fef35454a531779fa6df983 (patch) | |
tree | 20d7062d97b8fa6fbed966eeab6ca76aa6069262 | |
parent | 85910fea62a3356e6b49cb579c571aae952831c2 (diff) |
don't educate users about tlnet updates if they
used an explicit --repository.
git-svn-id: svn://tug.org/texlive/trunk@15266 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 2d8858558bf..6b81f6f6388 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -2354,10 +2354,14 @@ sub action_update { return; } + # if a real update from default disk location didn't find anything, + # warn if nothing is updated. if (!(@new || @updated)) { info("tlmgr: no updates available\n"); - if ($tlmediasrc->media ne "NET" && !$opts{"dry-run"}) { - # for all but net updates we warn if nothing is updated + if ($tlmediasrc->media ne "NET" + && !$opts{"dry-run"} + && !$opts{"repository"} + ) { 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"); |