summaryrefslogtreecommitdiff
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
parent2cb04111c0e29a046e14ebbc87a6308111d78598 (diff)
Do not create /etc/sv directory if there is no runscript (Closes: #923439)
-rw-r--r--debian/changelog7
-rwxr-xr-xdh_runit2
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 @@
1dh-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
1dh-runit (2.8.7) experimental; urgency=medium 8dh-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.
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;