]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installinit
r582: * Fix build with 077 umask. Closes: #187757
[debhelper.git] / dh_installinit
index a9070f2d6891e3988aa8f71dba8feedc9cd84f1c..5e4e1f351fd2e452ffc42245da97f31500a2e663 100755 (executable)
@@ -44,7 +44,7 @@ Do not restart init script on upgrade.
 
 =item B<--no-start>
 
-Do not start the init script at on install or upgrade, or stop it on removal.
+Do not start the init script on install or upgrade, or stop it on removal.
 Only call update-rc.d. Useful for rcS scripts.
 
 =item B<-d>, B<--remove-d>
@@ -138,7 +138,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        $params="defaults";
                }
 
-               my $substvaradded=0;
                if (! $dh{NOSCRIPTS}) {
                        if (! $dh{NO_START}) {
                                # update-rc.d, and start script
@@ -166,17 +165,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        autoscript($package,"postrm","postrm-init",
                                "s/#SCRIPT#/$script/;s/#INITPARMS#/$params/");
                }
-
-               if (! $substvaradded) {
-                       # Remove it, for idemotency's sake.
-                       addsubstvar($package, "misc:Depends", "sysvinit", ">= 2.80-1", 1);
-               }
        }
 }
 
 =head1 SEE ALSO
 
-L<debhelper(1)>
+L<debhelper(7)>
 
 This program is a part of debhelper.