#!/bin/sh -e

FLAVOR=$1
PACKAGE=c-sig

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

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

exit 0
