2 # postinst script for cl-fiveam
4 # see: dh_installdeb(1)
8 # package name according to lisp
9 LISP_CL_SHARE=/usr/share/common-lisp
11 LISP_PKG_SOURCE=${LISP_CL_SHARE}/source/${LISP_PKG}
13 # summary of how this script can be called:
14 # * <postinst> `configure' <most-recently-configured-version>
15 # * <old-postinst> `abort-upgrade' <new version>
16 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
18 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
19 # <failed-install-package> <version> `removing'
20 # <conflicting-package> <version>
21 # for details, see http://www.debian.org/doc/debian-policy/ or
22 # the debian-policy package
24 # quoting from the policy:
25 # Any necessary prompting should almost always be confined to the
26 # post-installation script, and should be protected with a conditional
27 # so that unnecessary prompting doesn't happen if a package's
28 # installation fails and the `postinst' is called with `abort-upgrade',
29 # `abort-remove' or `abort-deconfigure'.
33 /usr/sbin/register-common-lisp-source ${LISP_PKG}
35 abort-upgrade|abort-remove|abort-deconfigure)
38 echo "postinst called with unknown argument \`$1'" >&2
43 # dh_installdeb will replace this with shell code automatically
44 # generated by other debhelper scripts.