diff options
Diffstat (limited to 'dh_runit')
-rwxr-xr-x | dh_runit | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -96,6 +96,10 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) { | |||
96 | create_empty_file("${tmp}/usr/share/runit/meta/${name}/noreplace"); | 96 | create_empty_file("${tmp}/usr/share/runit/meta/${name}/noreplace"); |
97 | } | 97 | } |
98 | 98 | ||
99 | # These files allow handling of uninstalled-not-purged situation. | ||
100 | create_empty_file("${tmp}/usr/share/runit/meta/${name}/installed"); | ||
101 | create_empty_file("${tmp}/etc/sv/${name}/.meta/installed"); | ||
102 | |||
99 | if ( -f $path) { | 103 | if ( -f $path) { |
100 | install_dir("$sv_dir/$name"); | 104 | install_dir("$sv_dir/$name"); |
101 | install_prog($path, "$sv_dir/$name/run"); | 105 | install_prog($path, "$sv_dir/$name/run"); |