summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2019-03-12 19:03:21 +0000
committerDmitry Bogatov <KAction@debian.org>2019-03-12 19:03:21 +0000
commitd8852e96778c7f0a56294509b5ed69e953a36489 (patch)
tree5dba212ccd6c5262165e4a43ae36ff8ac9bb7de5
parent3b82ceca622bc2da6a9e14c0c7a86813e1223a94 (diff)
Fix missing directory error when installing runscript directory.
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_runit1
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 07646c9..d59fcfb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1dh-runit (2.8.9) UNRELEASED; urgency=medium
2
3 * Fix missing directory error when installing runscript directory.
4
5 -- Dmitry Bogatov <KAction@debian.org> Tue, 12 Mar 2019 19:02:36 +0000
6
1dh-runit (2.8.8) experimental; urgency=medium 7dh-runit (2.8.8) experimental; urgency=medium
2 8
3 * Do not create /etc/sv directory if there is no runscript (Closes: #923439) 9 * Do not create /etc/sv directory if there is no runscript (Closes: #923439)
diff --git a/dh_runit b/dh_runit
index f7c81a2..15a6d17 100755
--- a/dh_runit
+++ b/dh_runit
@@ -63,6 +63,7 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) {
63 install_dir("$sv_dir/$name"); 63 install_dir("$sv_dir/$name");
64 install_prog($path, "$sv_dir/$name/run"); 64 install_prog($path, "$sv_dir/$name/run");
65 } elsif ( -d $path) { 65 } elsif ( -d $path) {
66 install_dir($sv_dir);
66 doit('cp', '-r', $path, "$sv_dir/$name"); 67 doit('cp', '-r', $path, "$sv_dir/$name");
67 # Unfortunately, dh_fixperms does not handle executable bit here. 68 # Unfortunately, dh_fixperms does not handle executable bit here.
68 ensure_executable("$sv_dir/$name"); 69 ensure_executable("$sv_dir/$name");