summaryrefslogtreecommitdiff
path: root/debian/puppet-el.emacsen-remove
blob: a353812a6eec7f6deb3b024bcd1c7b149832003e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

FLAVOR=$1
PACKAGE=puppet-el
ELCFILE=puppet-mode.elc

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