Package: lintian
Version: 2.5.22.1
Severity: normal
Control: tag -1 patch

Lintian wrongly complains about images being info documents:

lilypond-doc: info-document-not-compressed 
usr/share/info/lilypond/pictures/darius-blasband.jpg
lilypond-doc: info-document-has-wrong-extension 
usr/share/info/lilypond/pictures/darius-blasband.jpg

the following trivial patch fixes this problem:

diff --git a/checks/infofiles.pm b/checks/infofiles.pm
index 0076375..e3c36b0 100644
--- a/checks/infofiles.pm
+++ b/checks/infofiles.pm
@@ -64,7 +64,7 @@ sub run {
                     }
                 }
             }
-        } elsif ($ext eq 'png') {
+        } elsif ($ext =~ m/^(?:png|jpe?g)$) {
             next;
         } else {
             push(@fname_pieces, $ext);



-- 
Don Armstrong                      http://www.donarmstrong.com

Certainly the game is rigged. Don't let that stop you. If you don't
bet, you can't win.
 -- Robert Heinlein _Time Enough For Love_ p240


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to