postinst is in gnus 5.11+v0.10.dfsg-3.
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 | #!/bin/sh
set -e
if [ "$1" = "configure" ]; then
    if ! test -z "$2" && ! test "$2" = "<unknown>"; then
      if dpkg --compare-versions "5.10.6-1.NO.20051203-1" gt "$2"; then
          rm -f /usr/share/emacs21/site-lisp/gnus/nnmaildir.elc
      fi
    fi
fi
# Automatically added by dh_installemacsen
if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]
then
	/usr/lib/emacsen-common/emacs-package-install gnus
fi
# End automatically added section
 |