summaryrefslogtreecommitdiff
path: root/dh_runit
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-06-06 00:14:48 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-06-06 00:14:48 +0300
commit929b68010b357893a3d2e4515e1d6516f332cf98 (patch)
treeb484f899b1246f7ed7975390791da94e342cdc0b /dh_runit
parent3f00eb88f049dc2e676b6372790f4b949e36bd47 (diff)
Write maintainer scripts
Diffstat (limited to 'dh_runit')
-rwxr-xr-xdh_runit3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_runit b/dh_runit
index dec7c5a..2e3414a 100755
--- a/dh_runit
+++ b/dh_runit
@@ -90,7 +90,8 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) {
90 doit('cp', '-r', $path, "$sv_dir/$name"); 90 doit('cp', '-r', $path, "$sv_dir/$name");
91 } 91 }
92 if ($enable -eq 'enable' && !$DH{NO_ENABLE}) { 92 if ($enable -eq 'enable' && !$DH{NO_ENABLE}) {
93 autoscript($pkg, 'postinst', 'postinst-runit', "s/#NAME#/$name/");
93 } 94 }
95 autoscript($pkg, 'prerm', 'prerm-runit', "s/#NAME#/$name/");
94 } 96 }
95} 97}
96