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 | |
parent | 2cb04111c0e29a046e14ebbc87a6308111d78598 (diff) |
Do not create /etc/sv directory if there is no runscript (Closes: #923439)
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | dh_runit | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index e9398ce..90c3ea8 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -1,3 +1,10 @@ | |||
1 | dh-runit (2.8.8) UNRELEASED; urgency=medium | ||
2 | |||
3 | * Do not create /etc/sv directory if there is no runscript (Closes: #923439) | ||
4 | + Thanks: Mathieu Mirmont <mat@parad0x.org> | ||
5 | |||
6 | -- Dmitry Bogatov <KAction@debian.org> Thu, 28 Feb 2019 12:15:20 +0000 | ||
7 | |||
1 | dh-runit (2.8.7) experimental; urgency=medium | 8 | dh-runit (2.8.7) experimental; urgency=medium |
2 | 9 | ||
3 | * Generate breaks with runit version, predating 'invoke-run' script. | 10 | * Generate breaks with runit version, predating 'invoke-run' script. |
@@ -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; |