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: pike7.6-core.prerm,v 1.1 2005/11/21 20:21:48 grendel Exp $
7
#
8
 
9
set -e
10
 
11
PIKE=7.6
12
PIKEBIN=pike${PIKE}
13
 
14
# summary of how this script can be called:
15
#        * <prerm> `remove'
16
#        * <old-prerm> `upgrade' <new-version>
17
#        * <new-prerm> `failed-upgrade' <old-version>
18
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
19
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
20
#          <package-being-installed> <version> `removing'
21
#          <conflicting-package> <version>
22
# for details, see http://www.debian.org/doc/debian-policy/ or
23
# the debian-policy package
24
 
25
case "$1" in
26
    remove|upgrade|deconfigure)
27
        update-alternatives --remove pike /usr/bin/${PIKEBIN}
28
        ;;
29
    failed-upgrade)
30
        ;;
31
    *)
32
        echo "prerm called with unknown argument \`$1'" >&2
33
        exit 1
34
    ;;
35
esac
36
 
37
# dh_installdeb will replace this with shell code automatically
38
# generated by other debhelper scripts.
39
 
40
#DEBHELPER#
41
 
42
exit 0
43
 
44