The following commit has been merged in the master branch:
commit e7028dc058d57038640da37d662228617eb029b3
Author: Niels Thykier <[email protected]>
Date: Sun Jun 17 23:58:44 2012 +0200
L::Lab: Skip writes of manifests if they have not changed
Signed-off-by: Niels Thykier <[email protected]>
diff --git a/lib/Lintian/Lab.pm b/lib/Lintian/Lab.pm
index 24ae8de..3a54e29 100644
--- a/lib/Lintian/Lab.pm
+++ b/lib/Lintian/Lab.pm
@@ -723,7 +723,8 @@ sub _write_manifests {
my $dir = $self->dir;
while ( my ($pkg_type, $plist) = (each %{ $self->{'state'} }) ) {
# write_list croaks on error, so no need for "or croak/die"
- $plist->write_list ("$dir/info/${pkg_type}-packages");
+ $plist->write_list ("$dir/info/${pkg_type}-packages")
+ if $plist->dirty;
}
}
--
Debian package checker
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]