#! /bin/sh -e
set -e

PACKAGE=sather-elisp
FLAVOR=$1

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

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

exit 0
