Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 magnus 1
#! /bin/sh
2
# prerm script for pike7.6
3
#
4
# see: dh_installdeb(1)
5
#
6
# $Id: prerm,v 1.7 2004/04/30 17:12:43 grendel Exp $
7
#
8
 
9
set -e
10
 
11
# summary of how this script can be called:
12
#        * <prerm> `remove'
13
#        * <old-prerm> `upgrade' <new-version>
14
#        * <new-prerm> `failed-upgrade' <old-version>
15
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
16
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
17
#          <package-being-installed> <version> `removing'
18
#          <conflicting-package> <version>
19
# for details, see http://www.debian.org/doc/debian-policy/ or
20
# the debian-policy package
21
 
22
case "$1" in
23
    remove|upgrade|deconfigure)
24
        update-alternatives --remove sexp-conv /usr/bin/sexp-conv.nettle
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