#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/bhl
set -e

FLAVOR=$1
echo remove/midge-mode: Handling removal of emacsen flavor ${FLAVOR}

if [ ${FLAVOR} != emacs ]; then
  rm -f /usr/share/${FLAVOR}/site-lisp/midge-mode.elc
fi
exit 0;
