[Initscripts-ng-commits] r128 - /trunk/src/insserv/debian/check-initd-order

pere at users.alioth.debian.org pere at users.alioth.debian.org
Thu Sep 7 09:26:13 UTC 2006


Author: pere
Date: Thu Sep  7 09:26:12 2006
New Revision: 128

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=128
Log:
Improve handling of scripts without LSB headers.

Modified:
    trunk/src/insserv/debian/check-initd-order

Modified: trunk/src/insserv/debian/check-initd-order
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/check-initd-order?rev=128&op=diff
==============================================================================
--- trunk/src/insserv/debian/check-initd-order (original)
+++ trunk/src/insserv/debian/check-initd-order Thu Sep  7 09:26:12 2006
@@ -115,7 +115,7 @@
 	    
 	    unless (defined $lsbinforef) {
 		print STDERR "LSB header missing in $rcbase/$rcdir/$script\n";
-		next;
+		$lsbinforef = {'provides' => $script};
 	    }
 	    my %lsbinfo = %{$lsbinforef};
 	    graph_addnode %lsbinfo;
@@ -213,8 +213,6 @@
 	    print STDERR "Override $overridepath/$basename\n"
 		if $debug;
 	    return load_lsb_tags("$overridepath/$basename", $useoverrides);
-	} else {
-	    return {'provides' => $basename};
 	}
     }
     return undef unless ($found);




More information about the Initscripts-ng-commits mailing list