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

[SCM] Debian package checker branch, master, updated. 2.5.0-rc3-18-g9d3446a



The following commit has been merged in the master branch:
commit 6b1f3348f2d504abbc64294a7c3c550b283d97c8
Author: Niels Thykier <niels@thykier.net>
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


Reply to: