prerm is in pki-tps 10.6.0-1ubuntu2.
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 | #!/bin/sh
set -e
invoke_failure() {
# invoke-rc.d failed, likely because no instance has been configured yet
# but exit with an error if an instance is configured and the invoke failed
if [ ! -d /etc/pki-tps ]; then
echo "... because no TPS instance has been configured yet."
else
exit 1
fi
}
|