diff options
author | Norbert Preining <preining@logic.at> | 2008-06-18 16:38:27 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-06-18 16:38:27 +0000 |
commit | da4e0708b07af4fb5e5571de39f2a680b68e13ac (patch) | |
tree | bbd5537cd80f60a0ec1d4beeb7179810e45cd988 | |
parent | f7f8cd161b59236731e0d93c3accd3d57f9f879d (diff) |
recompute revision of package.ARCH and don't make all of them the same
git-svn-id: svn://tug.org/texlive/trunk@8832 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/tlpkg/bin/tlpsrc2tlpdb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tlpsrc2tlpdb b/Master/tlpkg/bin/tlpsrc2tlpdb index afd12d47f49..f872e8b2213 100755 --- a/Master/tlpkg/bin/tlpsrc2tlpdb +++ b/Master/tlpkg/bin/tlpsrc2tlpdb @@ -92,8 +92,13 @@ sub main # 00texlive.something package are NOT split, never! if ( ($tlp->name !~ m/\.win32/) && ($tlp->name !~ m/^00texlive\./) ) { my @binobjs = $tlp->split_bin_package; - foreach (@binobjs) { - $tldb->add_tlpobj($_); + foreach my $binobj (@binobjs) { + # we recompute the revision numbers of the binary packages + # since that might be much smaller, and we don't want to + # update every package only because one binary for one arch + # was changed + $binobj->recompute_revision ($tltree, $tltree->file_svn_lastrevision("tlpkg/tlpsrc/$f")); + $tldb->add_tlpobj($binobj); } } } |