#! /bin/sh -e
#
# elisp remove file for Debian python-elisp package.
# /usr/lib/emacsen-common/packages/remove/python-elisp
#
# Based on Rob Browning's sample script,
# adopted for python-mode.el by Gregor Hoffleit <flight@debian.org>.
#

PACKAGE=python-elisp

FLAVOR=$1
echo remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR}

if [ ${FLAVOR} != emacs -a ${FLAVOR} != emacs19 ]
then
    echo emacsen-common: purging byte-compiled files for ${FLAVOR}
    rm -f /usr/share/${FLAVOR}/site-lisp/${PACKAGE}/*.elc
fi

exit 0
