Add Debian directory
[mspang/vmailman.git] / debian / prerm
1 #! /bin/sh -e
2 #
3 # prerm script for Debian python packages.
4 # Written 1998 by Gregor Hoffleit <flight@debian.org>.
5 #
6 # $URL: svn+ssh://lmamane@svn.debian.org/svn/pkg-mailman/trunk/debian/prerm $
7 # $Id: prerm 421 2006-10-08 12:50:00Z giskard-guest $
8
9 if [ "$1" = "failed-upgrade" ] ; then
10   if [ -x "/etc/init.d/mailman" ]; then
11     if [ -x /usr/sbin/invoke-rc.d ] ; then
12       invoke-rc.d mailman stop || true
13     else
14       /etc/init.d/mailman stop || true
15     fi
16   fi
17   chmod -x /usr/lib/mailman/bin/mailmanctl
18 fi
19
20 #DEBHELPER#