summaryrefslogtreecommitdiff
path: root/dh_runit
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2019-02-28 12:17:38 +0000
committerDmitry Bogatov <KAction@debian.org>2019-02-28 12:17:38 +0000
commit51fb67fb3fcec62888e0eccfaaaf366da1a2d31d (patch)
tree70f0a6bac2768109277dde37eae4b5be6ef9f3b2 /dh_runit
parent2cb04111c0e29a046e14ebbc87a6308111d78598 (diff)
Do not create /etc/sv directory if there is no runscript (Closes: #923439)
Diffstat (limited to 'dh_runit')
-rwxr-xr-xdh_runit2
1 files changed, 0 insertions, 2 deletions
diff --git a/dh_runit b/dh_runit
index 8320b05..5b345d6 100755
--- a/dh_runit
+++ b/dh_runit
@@ -51,8 +51,6 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) {
51 my $tmp = tmpdir($pkg); 51 my $tmp = tmpdir($pkg);
52 my $sv_dir = "$tmp/etc/sv"; 52 my $sv_dir = "$tmp/etc/sv";
53 53
54 install_dir($sv_dir);
55
56 for (@entries) { 54 for (@entries) {
57 (my $path, my $opts) = @$_; 55 (my $path, my $opts) = @$_;
58 error("can't read `$path'") unless -r $path; 56 error("can't read `$path'") unless -r $path;