postinst is in changetrack 4.7-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 20 | #!/bin/sh
set -e
## The version in Woody had a now obsolete question about a defaults
## file. We do not need that question anymore.
if dpkg --compare-versions 3.7-3 le-nl "$2"; then
# Source debconf library, if present.
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
## Remove all questions in the debconf database.
db_purge
fi
fi
exit 0
|