summaryrefslogtreecommitdiff
path: root/postrm-runit
diff options
context:
space:
mode:
Diffstat (limited to 'postrm-runit')
-rw-r--r--postrm-runit13
1 files changed, 12 insertions, 1 deletions
diff --git a/postrm-runit b/postrm-runit
index edd9ee7..a306688 100644
--- a/postrm-runit
+++ b/postrm-runit
@@ -1,7 +1,18 @@
1# -*- shell-script -*- 1# -*- shell-script -*-
2export NAME='#NAME#' 2export NAME='#NAME#'
3/lib/runit-helper/runit-helper postrm "$@" 3
4# Unfortunately, we can not assume, that bin:runit-helper package
5# is installed at postrm stage.
6#
7# The only other option is embed whole runit-helper script here,
8# into postrm script of -run package, but it would be like static
9# linking, requiring rebuild of all reverse dependencies on every
10# change of dh-runit.
11if [ -x /lib/runit-helper/runit-helper ] ; then
12 /lib/runit-helper/runit-helper postrm "$@"
13fi
4 14
5# Local Variables: 15# Local Variables:
6# eval: (sh-set-shell "sh" t nil) 16# eval: (sh-set-shell "sh" t nil)
7# End: 17# End:
18# vim: ft=sh:sw=4