#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/rail

set -e

FLAVOR=$1
PACKAGE=rail

if [ ${FLAVOR} != emacs ]; then
    echo "remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}"
    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
fi
