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 /dh_runit | |
parent | 3b82ceca622bc2da6a9e14c0c7a86813e1223a94 (diff) |
Fix missing directory error when installing runscript directory.
Diffstat (limited to 'dh_runit')
-rwxr-xr-x | dh_runit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |