diff options
author | Norbert Preining <preining@logic.at> | 2007-12-30 22:23:56 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-12-30 22:23:56 +0000 |
commit | 4514b037456b1ebaabb860463c08827171db8916 (patch) | |
tree | b23046aec276bfcb6e99159be56bf8ddf136b947 | |
parent | 719ac76a6231160393182d8abaaddc2b429c83b6 (diff) |
install bin-perltl.win32 always when arch=win32 programs are installed,
not only if we are running on win32.
git-svn-id: svn://tug.org/texlive/trunk@6003 c570f23f-e606-0410-a88d-b1316a301751
-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) { |