From da4e0708b07af4fb5e5571de39f2a680b68e13ac Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 18 Jun 2008 16:38:27 +0000 Subject: 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 --- Master/tlpkg/bin/tlpsrc2tlpdb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Master') 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); } } } -- cgit v1.2.3