File: emacsen-common.remove

package info (click to toggle)
emacsen-common 1.4.15
  • links: PTS
  • area: main
  • in suites: woody
  • size: 92 kB
  • ctags: 32
  • sloc: perl: 194; lisp: 111; sh: 91; makefile: 75
file content (16 lines) | stat: -rwxr-xr-x 319 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

FLAVOR=$1

echo emacsen-common: Handling removal of emacsen flavor ${FLAVOR}

if [ ${FLAVOR} != emacs ]
then
  echo emacsen-common: purging byte-compiled files for ${FLAVOR}
  rm -f /etc/${FLAVOR}/site-start.d/00debian-vars.elc \
        /usr/share/${FLAVOR}/site-lisp/debian-startup.elc
fi

exit 0;