diff options
-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; } |