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

[SCM] Debian package checker branch, master, updated. 2.3.2-18-gee866ae



The following commit has been merged in the master branch:
commit a591378106ddb535fc88dac49dc266658f9d0d9f
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sat Jan 30 01:33:26 2010 -0600

    Skip rc and rcS from the init script checks, they are special
    
    * checks/init.d:
      + [RG] Skip rc and rcS from the init script checks.

diff --git a/checks/init.d b/checks/init.d
index 2536e8c..b9a3df8 100644
--- a/checks/init.d
+++ b/checks/init.d
@@ -180,7 +180,9 @@ for (keys %initd_postinst) {
 # files actually installed in /etc/init.d should match our list :-)
 opendir(INITD, "init.d") or fail("cannot read init.d directory: $!");
 for (readdir(INITD)) {
-    next if $_ eq '.' || $_ eq '..' || $_ eq 'README' || $_ eq 'skeleton';
+    my $script = $_;
+    next if grep {$script eq $_} qw(. .. README skeleton rc rcS);
+    $_ = $script;
     unless ($initd_postinst{$_}) {
 	tag "script-in-etc-init.d-not-registered-via-update-rc.d", "/etc/init.d/$_";
 	check_init("init.d/$_") if -f "init.d/$_";
diff --git a/debian/changelog b/debian/changelog
index 1ffeb92..5731332 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ lintian (2.3.3) UNRELEASED; urgency=low
     + [RG] Warn about init scripts depending on checkroot instead of
       $local_fs.
     + [RG] Remove experimental flag from remote_fs and local_fs checks.
+    + [RG] Skip rc and rcS from the init script checks.
 
   * data/debhelper/*:
     + [RG] Refresh against unstable.

-- 
Debian package checker


Reply to: