postrm is in spread 3.17.4-3.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/sh -e
if [ "$1" = "purge" ]; then
if [ -x /usr/sbin/userdel -a -x /usr/sbin/groupdel ]; then
getent passwd spread >/dev/null && userdel spread
getent group spread >/dev/null && groupdel spread
fi
dpkg-statoverride --remove /etc/spread/spread.conf || true
dpkg-statoverride --remove /etc/spread || true
dpkg-statoverride --remove /var/run/spread || true
fi
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d spread remove >/dev/null
fi
# End automatically added section
|