diff options
-rwxr-xr-x | Master/install-tl.pl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/install-tl.pl b/Master/install-tl.pl index 66e74a95db0..734ec47b5db 100755 --- a/Master/install-tl.pl +++ b/Master/install-tl.pl @@ -301,11 +301,6 @@ sub calc_depends { } } - # we have to check for a decent perl installed - if (win32()) { - $install{"bin-perltl.win32"} = 1; - } - # compute the list of archs to be installed my @archs; foreach (keys %vars) { @@ -317,6 +312,12 @@ sub calc_depends { } } + # if programs for arch=win32 are installed we also have to install + # bin-perltl.win32 + if (grep(/^win32$/,@archs)) { + $install{"bin-perltl.win32"} = 1; + } + # loop over all the packages until it is getting stable my $changed = 1; while ($changed) { |