From 9a38fd7856f605d3c7dbe56edafef157ff94faad Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 22 Nov 2007 16:50:07 +0000 Subject: add the revision number of the .tlpsrc file to all packages git-svn-id: svn://tug.org/texlive/trunk@5549 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPSRC.pm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Master') diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm index b90fc02847b..646b9dd32b2 100644 --- a/Master/tlpkg/TeXLive/TLPSRC.pm +++ b/Master/tlpkg/TeXLive/TLPSRC.pm @@ -317,14 +317,9 @@ sub make_tlpobj $tlp->remove_binfiles($arch,@{$archmatches{$arch}}); } } - # for collections and schemes we add the revision number of the .tlpsrc - # file to the compute list: - my $addnr = 0; - if (($self->category eq "Collection") || ($self->category eq "Scheme")) { - my $fn = "tlpkg/tlpsrc/" . $self->name . ".tlpsrc"; - $addnr = $tltree->file_svn_lastrevision($fn); - } - $tlp->recompute_revision($tltree, $addnr); + # add the revision number of the .tlpsrc file to the compute list: + $tlp->recompute_revision($tltree, + $tltree->file_svn_lastrevision("tlpkg/tlpsrc/" . $self->name . ".tlpsrc")); $tlp->recompute_sizes($tltree); return $tlp; } -- cgit v1.2.3