postinst is in xscavenger 1.4.5-4.
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
set -e
# We exit unless the package is being configured
case "$1" in
abort*upgrade) exit 0;;
abort*remove) exit 0;;
abort*deconfigure) exit 0;;
configure)
if [ -d /usr/doc -a -h /usr/doc/xscavenger ]; then
# No longer need symlink from /usr/doc to /usr/share/doc/.
rm -f /usr/doc/xscavenger
fi
;;
*) exit 0;
esac
exit 0
|