source: trunk/debian/prerm

Last change on this file was 2, checked in by Erik Enge, 21 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 935 bytes
Line 
1#! /bin/sh
2set -e
3
4# package name according to lisp
5LISP_PKG=cl-irc
6
7# summary of how this script can be called:
8#        * <prerm> `remove'
9#        * <old-prerm> `upgrade' <new-version>
10#        * <new-prerm> `failed-upgrade' <old-version>
11#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
12#        * <deconfigured's-prerm> `deconfigure' `in-favour'
13#          <package-being-installed> <version> `removing'
14#          <conflicting-package> <version>
15# for details, see http://www.debian.org/doc/debian-policy/ or
16# the debian-policy package
17
18
19case "$1" in
20    remove|upgrade|deconfigure)
21        /usr/sbin/unregister-common-lisp-source ${LISP_PKG}
22        ;;
23    failed-upgrade)
24        ;;
25    *)
26        echo "prerm called with unknown argument \`$1'" >&2
27        exit 1
28    ;;
29esac
30
31# dh_installdeb will replace this with shell code automatically
32# generated by other debhelper scripts.
33
34#DEBHELPER#
35
36exit 0
37
38
Note: See TracBrowser for help on using the repository browser.