The following commit has been merged in the master branch:
commit 6b1f3348f2d504abbc64294a7c3c550b283d97c8
Author: Niels Thykier <[email protected]>
Date:   Tue Apr 26 19:04:26 2011 +0200

    Fixed regression in c/md5sums - F-P for missing md5sum file
    
    This fixes regression introduced by commit ef69f7b

diff --git a/checks/md5sums b/checks/md5sums
index aebeb19..e1550c1 100644
--- a/checks/md5sums
+++ b/checks/md5sums
@@ -61,8 +61,8 @@ unless (-f $control) {
     # be redundant
     my $only_conffiles = 1;
     foreach my $file (@{ $info->sorted_index }) {
-        # skip symlinks
-        next if $info->index->{$file}->{type} eq 'l';
+       # Skip non-files, they will not appear in the md5sums file
+        next if !$file or $info->index->{$file}->{type} ne '-';
        unless ($conffile{$file}) {
            $only_conffiles = 0;
            last;

-- 
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]

Reply via email to