postinst is in sml-mode 5.0-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 | #! /bin/sh
# postinst script for sml-mode
set -e
## Remove obsolete debconf questions.
if dpkg --compare-versions 3.9.5-9 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
# Automatically added by dh_installemacsen
if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]
then
/usr/lib/emacsen-common/emacs-package-install sml-mode
fi
# End automatically added section
exit 0
|