summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2007-11-22 09:27:17 +0000
committerNorbert Preining <preining@logic.at>2007-11-22 09:27:17 +0000
commite77ff3ae1a7b142bc6515a511141fc3f9a627394 (patch)
treed2d2e1ddf65fc4e8d7672c1fce09fbd1ecc67a5d /Master/tlpkg/TeXLive
parent1548217c26f2fbcd66170d93531cf6ec4fc49f05 (diff)
only add a depend on name.ARCH if packages have actually been split of!!!
git-svn-id: svn://tug.org/texlive/trunk@5545 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm
index 659cb45823d..10bbab8751d 100644
--- a/Master/tlpkg/TeXLive/TLPOBJ.pm
+++ b/Master/tlpkg/TeXLive/TLPOBJ.pm
@@ -705,8 +705,10 @@ sub split_package {
$tlp->add_binfiles($a,@{$binf{$a}});
push @retlist, $tlp;
}
+ if (keys(%binf)) {
+ push @{$self->{'depends'}}, $self->name . ".ARCH";
+ }
$self->clearbinfiles();
- push @{$self->{'depends'}}, $self->name . ".ARCH";
return(@retlist);
}