debian/python2.3-oobrother.prerm
author root
Wed, 26 Apr 2006 10:48:09 +0000
changeset 0 7710b138d4eb
permissions -rw-r--r--
forget the past. forget the past.

#! /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#