#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/skk
# [ This particular script hasn't been tested either, so be careful. ]
set -e

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

case ${FLAVOR} in
    emacs|emacs19)
	echo remove/${PACKAGE}: Ignoring emacsen flavor ${FLAVOR};;
    *)
	echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
	rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE};;
esac

exit 0;
