diff options
author | Dmitry Bogatov <KAction@debian.org> | 2019-03-12 19:03:21 +0000 |
---|---|---|
committer | Dmitry Bogatov <KAction@debian.org> | 2019-03-12 19:03:21 +0000 |
commit | d8852e96778c7f0a56294509b5ed69e953a36489 (patch) | |
tree | 5dba212ccd6c5262165e4a43ae36ff8ac9bb7de5 | |
parent | 3b82ceca622bc2da6a9e14c0c7a86813e1223a94 (diff) |
Fix missing directory error when installing runscript directory.
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | dh_runit | 1 |
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 @@ | |||
1 | dh-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 | |||
1 | dh-runit (2.8.8) experimental; urgency=medium | 7 | dh-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) |
@@ -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"); |