diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/install-tl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl index afbaed7d155..b8221ee3abf 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -524,6 +524,17 @@ if ($opt_location) { if (!setup_programs ("$::installerdir/tlpkg/installer", "$::_platform_")) { tldie("$0: Goodbye.\n"); } +# before we try something, let us check whether the current system +# has a libc that is new enough +# we take a very trivial approach, namely checking wether the xz we +# have selected in setup_programs is the one we shipped. +# Since we try hard in setup_programs, including copying files etc +# if xz is not our shipped one, then there might be a problem with libc. +if (!win32() && $::progs{'xz'} eq 'xz') { + tldie("$0: Your system seems to be to old to run + $::installerdir/tlpkg/installer/xz/xz.$::_platform_ +After installation nothing will work anyway, so we stop here!\n"); +} if ($opt_profile eq "") { |