debian/python2.3-oobrother.prerm
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Mon, 22 May 2006 12:38:25 +0200
changeset 1 b9b031063093
parent 0 7710b138d4eb
permissions -rw-r--r--
packaging updates

#! /bin/sh -e
#
# sample prerm script for Debian python packages.
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
#

dpkg --listfiles python2.3-oobrother |
	awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
	xargs rm -f >&2


## Alternatives

if [ $1 != "upgrade" ]; then
    # Remove alternatives
    for i in oobrother ; do
        update-alternatives --remove $i /usr/bin/$i.python2.3
    done
fi


#DEBHELPER#