notmuch/debian/notmuch-emacs.emacsen-remove
David Bremner 6f3d3c68a0 debian: split off emacs interface into its own package.
- rename emacsen-install/remove files, and change embedded package
  name

- split notmuch.install, notmuch.dirs

- add Breaks/Replaces for previous notmuch packages with overlapping
  files.
2011-06-23 07:54:40 -03:00

10 lines
255 B
Bash
Executable file

#!/bin/sh -e
# /usr/lib/emacsen-common/packages/remove/notmuch-emacs
FLAVOR=$1
PACKAGE=notmuch
if [ ${FLAVOR} != emacs ]; then
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
fi