[lintian] 01/01: c/cruft.pm: Re-add accidentally omitted file type check for source-contains-prebuilt-ms-help-file.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 572cb94a8816e5193c22331ca892412d97a7fc93
Author: Chris Lamb <lamby@debian.org>
Date: Mon Jul 10 10:04:18 2017 +0100
c/cruft.pm: Re-add accidentally omitted file type check for source-contains-prebuilt-ms-help-file.
---
checks/cruft.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/checks/cruft.pm b/checks/cruft.pm
index a9d72c6..81faea6 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -645,6 +645,7 @@ sub find_cruft {
# .chm files are usually generated by non-free software
if ( $basename =~ /\.chm$/i
+ && $file_info eq "MS Windows HtmlHelp Data"
&& $entry->is_open_ok
&& index($entry->file_contents, 'Halibut,') == -1) {
tag 'source-contains-prebuilt-ms-help-file', $name;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: