#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/lyskom-elisp-client

set -e

FLAVOR=$1

if [ "$FLAVOR" != emacs ]; then
    echo "Skipping unsupported emacs $FLAVOR"
    exit 0
fi

echo remove/lyskom-elisp-client: Handling removal of emacsen flavor ${FLAVOR}

path=/usr/share/${FLAVOR}/site-lisp/lyskom-elisp-client.elc
if [  -e "${path}" ]; then
  echo emacsen-common: purging byte-compiled files for ${FLAVOR}
  rm -f "${path}"
fi
exit 0
