File: emacsen-common.remove

package info (click to toggle)
emacsen-common 1.4.22
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 116 kB
  • ctags: 30
  • sloc: perl: 194; sh: 110; lisp: 108; makefile: 80
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;