summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-08-01 20:20:25 +0000
committerNorbert Preining <preining@logic.at>2008-08-01 20:20:25 +0000
commit7182acf11046ef9182624e4755a0fca9c3fb8bf0 (patch)
treec32717bff3cc54ef210710d3e389ed5539917b4e /Master/install-tl
parentcf6d52677450cdb0b66a77b7b343e6f4cc0cb37e (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-xMaster/install-tl5
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";
#