9cbf5edff2429aebbf61206b88a7d10002666cab
[cl-base64.git] / debian / postinst
1 #! /bin/sh
2 set -e
3
4 LISP_PKG=cl-base64
5
6 # summary of how this script can be called:
7 #        * <postinst> `configure' <most-recently-configured-version>
8 #        * <old-postinst> `abort-upgrade' <new version>
9 #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
10 #          <new-version>
11 #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
12 #          <failed-install-package> <version> `removing'
13 #          <conflicting-package> <version>
14 # for details, see http://www.debian.org/doc/debian-policy/ or
15 # the debian-policy package
16 #
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'.
23
24 case "$1" in
25     configure)
26         /usr/sbin/register-common-lisp-source ${LISP_PKG}
27         ;;
28     abort-upgrade|abort-remove|abort-deconfigure)
29         ;;
30     *)
31         echo "postinst called with unknown argument \`$1'" >&2
32         exit 1
33         ;;
34 esac
35
36 # dh_installdeb will replace this with shell code automatically
37 # generated by other debhelper scripts.
38
39 #DEBHELPER#
40
41 exit 0
42
43