diff options
author | Dmitry Bogatov <KAction@debian.org> | 2019-02-28 12:17:38 +0000 |
---|---|---|
committer | Dmitry Bogatov <KAction@debian.org> | 2019-02-28 12:17:38 +0000 |
commit | 51fb67fb3fcec62888e0eccfaaaf366da1a2d31d (patch) | |
tree | 70f0a6bac2768109277dde37eae4b5be6ef9f3b2 /dh_runit | |
parent | 2cb04111c0e29a046e14ebbc87a6308111d78598 (diff) |
Do not create /etc/sv directory if there is no runscript (Closes: #923439)
Diffstat (limited to 'dh_runit')
-rwxr-xr-x | dh_runit | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |