#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/tnt

# I don't think that remove scripts should have -e set, because
# that makes the package unremovable if the script fails.
# set -e 

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

if [ ${FLAVOR} != emacs ]; then

    echo remove/tnt: purging byte-compiled files for ${FLAVOR}

    rm -rf /usr/share/${FLAVOR}/site-lisp/tnt/
fi
exit 0
