#!/bin/sh

set -e

FLAVOR=$1

if [ "${FLAVOR}" != emacs ] && [ "${FLAVOR}" != xemacs21 ]; then
  echo "Purging gnats-user byte-compiled files for ${FLAVOR}..."
  rm -f /usr/share/${FLAVOR}/site-lisp/gnats-user/*.elc
  echo "Done."
fi
exit 0
