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

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

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