postrm is in linux-grsec-base 6.
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 | #!/bin/sh -e
if [ "$1" = "purge" ];
then
echo "Removing grsec groups" >&2
groupdel grsec-tpe || echo "Error removing group grsec-tpe" >&2
groupdel grsec-sock-all || echo "Error removing group grsec-sock-all" >&2
groupdel grsec-sock-clt || echo "Error removing group grsec-sock-clt" >&2
groupdel grsec-sock-srv || echo "Error removing group grsec-sock-srv" >&2
groupdel grsec-proc || echo "Error removing group grsec-proc" >&2
fi
|