/[pkg-kolab]/trunk/kolab-cyrus-imapd/debian/kolab-cyrus-common.prerm
ViewVC logotype

Contents of /trunk/kolab-cyrus-imapd/debian/kolab-cyrus-common.prerm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 171 - (show annotations) (download)
Wed Jan 18 10:18:16 2006 UTC (7 years, 4 months ago) by white-guest
File size: 1161 byte(s)
* change cyrus22 to kolab-cyrus to call right init-script
1 #! /bin/sh
2 # prerm script for cyrus22-common
3 # Copyright (c) 2002 by Henrique de Moraes Holschuh
4 # Distributed under the GNU General Public License version 2
5 # $Id: cyrus22-common.prerm 5 2005-03-12 23:19:45Z sven $
6 #
7 # see: dh_installdeb(1)
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
23 case "$1" in
24 remove|upgrade|deconfigure)
25 # Call initscript, if it is there to stop the daemon
26 invoke-rc.d kolab-cyrus stop || true
27 ;;
28 failed-upgrade)
29 ;;
30 *)
31 echo "prerm called with unknown argument \`$1'" >&2
32 exit 1
33 ;;
34 esac
35
36 # dh_installdeb will replace this with shell code automatically
37 # generated by other debhelper scripts.
38
39 #DEBHELPER#
40
41 exit 0
42
43

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5