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

[SCM] Debian package checker branch, master, updated. 2.5.14-26-g1662c3e



The following commit has been merged in the master branch:
commit f8aed7a8090e72970585c3735bdfabb7100c3216
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jun 30 21:43:10 2013 +0200

    c/systemd.pm: Ignore README, skeleton, rc and rcS
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/systemd.pm b/checks/systemd.pm
index 4eba3d9..e5292dc 100644
--- a/checks/systemd.pm
+++ b/checks/systemd.pm
@@ -88,9 +88,15 @@ sub run {
 
 sub check_init_script {
     my ($info, $file) = @_;
-
+    my $basename = $file->basename;
     my $lsb_source_seen;
+
+    # Couple of special cases we don't care about...
+    return if $basename eq 'README' or $basename eq 'skeleton'
+        or $basename eq 'rc' or $basename eq 'rcS';
+
     my $unpacked_file = $info->unpacked ($file);
+
     unless (-f $unpacked_file &&
             is_ancestor_of ($info->unpacked, $unpacked_file)) {
         tag 'init-script-is-not-a-file', $file;

-- 
Debian package checker


Reply to: