cmake/debian/cmake-data.emacsen-remove
Modestas Vainius a18f69b89d Remove the whole emacs compiled directory...
... rather than just .elc file. Thanks to Kevin Ryde. (Closes: #710572)
2013-11-03 16:30:37 +02:00

12 lines
221 B
Bash

#!/bin/sh
set -e
FLAVOR=$1
PACKAGE=cmake-data
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
if [ ${FLAVOR} != emacs ]; then
echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
rm -rf "${ELCDIR}"
fi