summaryrefslogtreecommitdiff
path: root/dh_installinit
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-11-10 15:23:27 -0400
committerJoey Hess <joey@kitenet.net>2013-11-10 15:23:27 -0400
commitbadb3b4a560d8f0c7013ccac995386618b131fbe (patch)
tree2141105a46f6ce683f1d82407493b91169dd20b5 /dh_installinit
parent46f62549e58018d600c9a3fa043c904d5b49595a (diff)
dh_installinit: Revert changes that added versioned dependency on sysv-rc to support upstart, which later grew to a versioned dependency on sysv-rc | file-rc, and which seems to want to continue growing to list other init systems, which there currently seem to be far too many of, for far too little benefit. The sysv-rc dependency is already met in stable. The file-rc dependency is not, so if someone cares about that, they need to find a properly designed solution, which this was not. Closes: #729248
Diffstat (limited to 'dh_installinit')
-rwxr-xr-xdh_installinit6
1 files changed, 0 insertions, 6 deletions
diff --git a/dh_installinit b/dh_installinit
index d7c8f75..1926e9f 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -234,12 +234,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $init=pkgfile($package,$scriptsrc) || pkgfile($package,"init") ||
pkgfile($package,"init.d");
- if ($job ne '' || ($dh{ONLYSCRIPTS} && -e "$tmp/etc/init/$jobfile.conf")) {
- # minimal version of invoke-rc.d that supports upstart jobs
- # directly
- addsubstvar($package, "misc:Depends", "sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16)");
- }
-
if ($init ne '' && ! $dh{ONLYSCRIPTS}) {
if (! -d "$tmp/etc/init.d") {
doit("install","-d","$tmp/etc/init.d");