#!/bin/sh
#
# emacsen remove script for the Debian GNU/Linux auto-pgp package
#
# Written by Dirk Eddelbuettel <edd@debian.org>   

set -e 

# Canadian spelling ;-)
flavour=$1

package=auto-pgp
source=/usr/share/emacs/site-lisp
destination=/usr/share/${flavour}/site-lisp

if [ ${flavour} != emacs ]
then
    echo install/${package}: Purging byte-compiled files for flavour ${flavour}
    rm -f ${destination}/*.elc
else
    echo install/${package}: Ignoring emacsen flavour ${flavour}
fi

exit 0;
