summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-08-29 06:05:50 +0000
committerNorbert Preining <preining@logic.at>2009-08-29 06:05:50 +0000
commit6de64c59ed29d8432cc4b8b55bd5daeaad5b80a2 (patch)
tree17c7504e1c0d563b97c9b86d92ed6e44c5c79eac /Master/texmf/scripts
parent2f24d5633c43cf2e65041c534e714172cf922694 (diff)
tlmgr now echoes "tlmgr: no updates available" if nothing has been done
git-svn-id: svn://tug.org/texlive/trunk@14935 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/scripts')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl18
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");
+ }
}
}