#!/bin/sh -eu

FLAVOR="$1"
echo "remove/cdargs: Handling removal of emacsen flavor $FLAVOR"

if [ "$FLAVOR" != emacs ]
then
    echo "remove/cdargs: purging byte-compiled files for ${FLAVOR}"
    rm -f "/usr/share/$FLAVOR/site-lisp/cdargs.elc"
fi
exit 0
