[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/02: checks/cruft.pm: Add comment re. package name matching with package-does-not-install-examples.



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit d6a074e3ec2977b31a30931bb8ad7a8897ba5fd3
Author: Chris Lamb <lamby@debian.org>
Date:   Tue Mar 6 22:08:04 2018 -0800

    checks/cruft.pm: Add comment re. package name matching with package-does-not-install-examples.
---
 checks/cruft.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index fe67d49..db21095 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -1572,6 +1572,7 @@ sub _ships_examples {
     return 1 if not @procs;
     foreach my $binpkg (@procs) {
         my $name = $binpkg->pkg_name;
+        # If we have an -examples package, assume we ship examples.
         return 1 if $name =~ m{-examples$};
         my @files = $binpkg->info->sorted_index;
         return 1 if any { m{^usr/share/doc/$name/examples/$} } @files;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: