summaryrefslogtreecommitdiff
path: root/postrm-runit
blob: 9a912f164bcd9768ab3d626bb7e77381946b4a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- shell-script -*-
export NAME='#NAME#'
export ENABLE='#ENABLE#'
export SINCE='#SINCE'

# Unfortunately, we can not assume, that bin:runit-helper package
# is installed at postrm stage.
#
# The only other option is embed whole runit-helper script here,
# into postrm script of -run package, but it would be like static
# linking, requiring rebuild of all reverse dependencies on every
# change of dh-runit.
if [ -x /lib/runit-helper/runit-helper ] ; then
    /lib/runit-helper/runit-helper postrm "$@"
fi

# Local Variables:
# eval: (sh-set-shell "sh" t nil)
# End:
# vim: ft=sh:sw=4