summaryrefslogtreecommitdiff
path: root/dh_runit
diff options
context:
space:
mode:
Diffstat (limited to 'dh_runit')
-rwxr-xr-xdh_runit4
1 files changed, 4 insertions, 0 deletions
diff --git a/dh_runit b/dh_runit
index 9a302dd..4860172 100755
--- a/dh_runit
+++ b/dh_runit
@@ -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");