summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-containers
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-10-14 07:49:36 +0000
committerNorbert Preining <preining@logic.at>2008-10-14 07:49:36 +0000
commitf84fb1fcc64547fc22f9827658ffbf66f85d459a (patch)
tree9750f2d54f7de4d737786ac841045f5e9917fbee /Master/tlpkg/bin/tl-update-containers
parentc88818e2ddf8133d81dee2995573fda43ff5cdd7 (diff)
include the check on supported architectures, remove the patch
git-svn-id: svn://tug.org/texlive/trunk@10974 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-containers')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-containers10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers
index 440e0cb82ac..dcbe30eed10 100755
--- a/Master/tlpkg/bin/tl-update-containers
+++ b/Master/tlpkg/bin/tl-update-containers
@@ -174,7 +174,15 @@ sub main
$::progs{'tar'} = "tar";
} else {
# do a full setup
- &TeXLive::TLUtils::setup_programs("$Master/tlpkg/installer");
+ my $ret = &TeXLive::TLUtils::setup_programs("$Master/tlpkg/installer");
+ if ($ret == -1) {
+ tlwarn("no binary of lzmadec for $::_platform_ detected, aborting.\n");
+ exit 1;
+ }
+ if (!$ret) {
+ tlwarn("binaries could not be set up, aborting.\n");
+ exit 1;
+ }
}
# get list of packages.