diff options
author | Norbert Preining <preining@logic.at> | 2007-11-22 16:50:07 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-22 16:50:07 +0000 |
commit | 9a38fd7856f605d3c7dbe56edafef157ff94faad (patch) | |
tree | 26147f80faae670b0e6e48c92a26591675aefa12 /Master/tlpkg/TeXLive/TLPSRC.pm | |
parent | a8f41aa584925cfa8c85f6385c1aadb31165f2da (diff) |
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
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPSRC.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPSRC.pm | 11 |
1 files changed, 3 insertions, 8 deletions
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; } |