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

lintian: r1341 - in trunk: checks debian



Author: rra
Date: 2008-06-06 23:48:39 +0200 (Fri, 06 Jun 2008)
New Revision: 1341

Modified:
   trunk/checks/init.d
   trunk/debian/changelog
Log:
* checks/init.d:
  + [RA] Try to allow for postinst scripts written in Perl and still
    recognize the update-rc.d calls.

Modified: trunk/checks/init.d
===================================================================
--- trunk/checks/init.d	2008-06-05 05:52:56 UTC (rev 1340)
+++ trunk/checks/init.d	2008-06-06 21:48:39 UTC (rev 1341)
@@ -59,7 +59,7 @@
     while (<IN>) {
 	next if /$exclude_r/o;
 	s/\#.*$//o;
-	next unless /^(?:.+;)?\s*update-rc\.d\s+
+	next unless /^(?:.+;|^\s*system[\s\(\']+)?\s*update-rc\.d\s+
 	    (?:$opts_r)*($name_r)\s+($action_r)/xo;
 	my ($name,$opt) = ($1,$2);
 	next if $opt eq 'remove';

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-06-05 05:52:56 UTC (rev 1340)
+++ trunk/debian/changelog	2008-06-06 21:48:39 UTC (rev 1341)
@@ -16,6 +16,9 @@
       Conflicts, and other similar fields.  Warn if Breaks is used without
       a version.  Check that Breaks is not inconsistent with other
       dependency fields.
+  * checks/init.d:
+    + [RA] Try to allow for postinst scripts written in Perl and still
+      recognize the update-rc.d calls.
   * checks/manpages:
     + [RA] Only ignore errors about wrapping lines for Asian locale man
       pages, since that's where the groff trouble lies.  Ignore character


Reply to: