Project

General

Profile

« Previous | Next » 

Revision 5437afee

Added by Evgeni Golov about 4 years ago

move all handling to prerm and use dpkg-maintscript-helper

prerm is the only place we can remove things we don't ship anymore

View differences:

debian/buster/foreman/foreman.postrm
#DEBHELPER#
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'dynflowd.service' >/dev/null || true
deb-systemd-helper unmask 'dynflowd.service' >/dev/null || true
fi
update-rc.d dynflowd remove >/dev/null
rm -f /etc/init.d/dynflowd /etc/default/dynflowd
exit 0

Also available in: Unified diff