[SCM] Debian package checker branch, master, updated. 2.3.3-21-g63ba2e6
The following commit has been merged in the master branch:
commit 5f971aa8471483d0177e444ec1126d858ce27663
Author: Jos Boumans <kane@cpan.org>
Date: Sat Mar 20 15:05:54 2010 -0700
Bypass init script checks if the script is a link to upstart-job
diff --git a/checks/init.d b/checks/init.d
index b9a3df8..61098b6 100644
--- a/checks/init.d
+++ b/checks/init.d
@@ -182,6 +182,9 @@ opendir(INITD, "init.d") or fail("cannot read init.d directory: $!");
for (readdir(INITD)) {
my $script = $_;
next if grep {$script eq $_} qw(. .. README skeleton rc rcS);
+ # don't check upstart jobs. See Ubuntu bug report:
+ # https://bugs.launchpad.net/ubuntu/+source/lintian/+bug/496798
+ next if -l "init.d/$script" and readlink("init.d/$script") =~ m|lib/init/upstart-job$|;
$_ = $script;
unless ($initd_postinst{$_}) {
tag "script-in-etc-init.d-not-registered-via-update-rc.d", "/etc/init.d/$_";
--
Debian package checker
Reply to: