r6298: convert .cvsignore to svn:ignore properties
[cl-base64.git] / debian / postinst
1 #! /bin/sh
2 #
3 # see: dh_installdeb(1)
4
5 set -e
6
7 # package name according to lisp
8 LISP_PKG=base64
9
10 # summary of how this script can be called:
11 #        * <postinst> `configure' <most-recently-configured-version>
12 #        * <old-postinst> `abort-upgrade' <new version>
13 #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
14 #          <new-version>
15 #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
16 #          <failed-install-package> <version> `removing'
17 #          <conflicting-package> <version>
18 # for details, see http://www.debian.org/doc/debian-policy/ or
19 # the debian-policy package
20 #
21 # quoting from the policy:
22 #     Any necessary prompting should almost always be confined to the
23 #     post-installation script, and should be protected with a conditional
24 #     so that unnecessary prompting doesn't happen if a package's
25 #     installation fails and the `postinst' is called with `abort-upgrade',
26 #     `abort-remove' or `abort-deconfigure'.
27
28 case "$1" in
29     configure)
30         /usr/sbin/register-common-lisp-source ${LISP_PKG}
31         ;;
32     abort-upgrade|abort-remove|abort-deconfigure)
33         ;;
34     *)
35         echo "postinst called with unknown argument \`$1'" >&2
36         exit 1
37         ;;
38 esac
39
40 # dh_installdeb will replace this with shell code automatically
41 # generated by other debhelper scripts.
42
43 #DEBHELPER#
44
45 exit 0
46
47