File: postinst-runit

package info (click to toggle)
dh-runit 2.16.6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 272 kB
  • sloc: perl: 305; sh: 220; haskell: 49; makefile: 22
file content (5 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (4)
1
2
3
4
5
# Unlike postrm, I can be sure, that runit-helper is present on
# postinst.
if [ -z "${DPKG_ROOT:-}" ] && [ -x /usr/lib/runit-helper/runit-helper ]; then
    NAME='#NAME#' ENABLE='#ENABLE#' ONUPGRADE='#ONUPGRADE#' /usr/lib/runit-helper/runit-helper postinst "$@"
fi