summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2007-12-27 08:28:50 +0000
committerNorbert Preining <preining@logic.at>2007-12-27 08:28:50 +0000
commit555293e51403fc3dd9ae89e2c3969758f4ed9341 (patch)
treeb11bc9bb028cca2037bbce3b4f1b1f9c55c27f84 /Master
parentfc45c2f47f82e3cfa9b8568060dc4d5ffbba81e4 (diff)
fix for lib- package rename
git-svn-id: svn://tug.org/texlive/trunk@5941 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/install-tl.pl15
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/install-tl.pl b/Master/install-tl.pl
index 3562bf6b572..97e0b80711b 100755
--- a/Master/install-tl.pl
+++ b/Master/install-tl.pl
@@ -346,6 +346,12 @@ sub calc_depends {
foreach my $a (@archs) {
$install{"$foo.$a"} = 1;
}
+ } elsif ($p_dep =~ m/^(.*)\.win32$/) {
+ # a win32 package should *only* be installed if we are installing
+ # the win32 arch
+ if (grep(/^win32$/,@archs)) {
+ $install{$p_dep} = 1;
+ }
} else {
$install{$p_dep} = 1;
}
@@ -362,15 +368,6 @@ sub calc_depends {
}
}
- # install source packages, they don't contain *any* dependencies
- if ($vars{'option_src'}) {
- foreach my $p (keys %install) {
- my $tlpobj = $tlpdb->get_package("$p.SOURCES");
- if (defined($tlpobj)) {
- $install{"$p.SOURCES"} = 1;
- }
- }
- }
# now do the size computation
my $size = 0;
foreach my $p (keys %install) {