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