File: //var/lib/dpkg/info/runit.postrm
#!/bin/sh
set -e
if [ "$1" = "purge" ] ; then
if [ -h /etc/runit/runsvdir/current ]; then
rm /etc/runit/runsvdir/current
fi
fi
# Automatically added by dh_sysuser/UNDECLARED
# -*- sh -*-
# we can not assume that bin:sysuser-helper is installed during postrm
if [ -x /lib/sysuser-helper/sysuser-helper ] ; then
CONF_HOME=/nonexistent CONF_PACKAGE=runit CONF_USERNAME=_runit-log /lib/sysuser-helper/sysuser-helper prerm "$@"
fi
# End automatically added section
# Automatically added by dh_sysuser/UNDECLARED
# -*- sh -*-
# we can not assume that bin:sysuser-helper is installed during postrm
if [ -x /lib/sysuser-helper/sysuser-helper ] ; then
CONF_HOME=/nonexistent CONF_PACKAGE=runit CONF_USERNAME=runit-log /lib/sysuser-helper/sysuser-helper prerm "$@"
fi
# End automatically added section