postinst is in rt4-extension-authenexternalauth 0.25-1.
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 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #!/bin/sh
set -e
RT_VERSION=4
case "${1}" in
configure)
# clear mason cache
find /var/cache/request-tracker${RT_VERSION}/mason_data -type f -print0 | xargs -r0 rm -f
# indicate that apache needs to be restarted
cat << EOF
If you are using mod_perl or any form of persistent perl process
such as FastCGI, you will need to restart your web server and any
persistent processes now.
For mod_perl this means
service apache2 stop && service apache2 start
EOF
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
exit 0
|