2
# Generic postinst script for Haskell cabal libraries v8 by Ian Lynagh.
4
# SOURCE: @PACKAGE@.postinst.in
7
# summary of how this script can be called:
8
# * <postinst> `configure' <most-recently-configured-version>
9
# * <old-postinst> `abort-upgrade' <new version>
10
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
13
# <failed-install-package> <version> `removing'
14
# <conflicting-package> <version>
15
# for details, see /usr/doc/packaging-manual/
17
# quoting from the policy:
18
# Any necessary prompting should almost always be confined to the
19
# post-installation script, and should be protected with a conditional
20
# so that unnecessary prompting doesn't happen if a package's
21
# installation fails and the `postinst' is called with `abort-upgrade',
22
# `abort-remove' or `abort-deconfigure'.
25
configure|abort-upgrade|abort-remove|abort-deconfigure)
26
/usr/lib/@PACKAGE@/register.sh
29
echo "postinst called with unknown argument \`$1'" >&2
34
# dh_installdeb will replace this with shell code automatically
35
# generated by other debhelper scripts.