diff options
author | Norbert Preining <preining@logic.at> | 2009-09-02 22:27:54 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-09-02 22:27:54 +0000 |
commit | 66a9807e0ebc22e61952dd4dd0dd140283d2379a (patch) | |
tree | eb46a763bd5dcce62a0bfdcf4417df346e10868f /Master | |
parent | 5928010bb01ec2fe7db3d1bd18062bc25380544b (diff) |
if there is nothing to install, do nothing and exit in install-tl
git-svn-id: svn://tug.org/texlive/trunk@15004 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/install-tl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl index 08e23c7b371..0929d0fd2f2 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -577,6 +577,10 @@ sub do_installation { debug("Switching to non-admin mode due to explicit user request!\n"); non_admin() if !$vars{'option_w32_multi_user'}; } + if ($vars{'n_collections_selected'} <= 0) { + tlwarn("Nothing selected, nothing to install, exiting!\n"); + exit 1; + } # do the actual installation my $h; prepare_installation(); |