diff options
author | Norbert Preining <preining@logic.at> | 2008-08-01 20:20:25 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-08-01 20:20:25 +0000 |
commit | 7182acf11046ef9182624e4755a0fca9c3fb8bf0 (patch) | |
tree | c32717bff3cc54ef210710d3e389ed5539917b4e /Master/install-tl | |
parent | cf6d52677450cdb0b66a77b7b343e6f4cc0cb37e (diff) |
install-tl: check the return value of setup_programs
git-svn-id: svn://tug.org/texlive/trunk@9993 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl index 86e75560857..51ca522d756 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -304,7 +304,10 @@ if ($opt_arch) { # initialize the correct platform platform(); -setup_programs ("$::installerdir/tlpkg/installer", "$::_platform_"); +if (!setup_programs ("$::installerdir/tlpkg/installer", "$::_platform_")) { + tlwarn("Couldn't set up the necessary programs.\nCannot continue with installation.\nPlease report to texlive\@tug.org.\n"); + exit 1; +} $ENV{'WGETRC'}="$::installerdir/tlpkg/installer/wgetrc"; # |