r5110: Automatic commit for debian_version_3_2_1-1
[cl-base64.git] / debian / prerm
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 #        * <prerm> `remove'
12 #        * <old-prerm> `upgrade' <new-version>
13 #        * <new-prerm> `failed-upgrade' <old-version>
14 #        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
15 #        * <deconfigured's-prerm> `deconfigure' `in-favour'
16 #          <package-being-installed> <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
22 case "$1" in
23     remove|upgrade|deconfigure)
24         /usr/sbin/unregister-common-lisp-source ${LISP_PKG}
25         ;;
26     failed-upgrade)
27         ;;
28     *)
29         echo "prerm called with unknown argument \`$1'" >&2
30         exit 1
31     ;;
32 esac
33
34 # dh_installdeb will replace this with shell code automatically
35 # generated by other debhelper scripts.
36
37 #DEBHELPER#
38
39 exit 0
40
41