File: remove

package info (click to toggle)
nasm-mode 19991117
  • links: PTS
  • area: main
  • in suites: potato
  • size: 56 kB
  • ctags: 15
  • sloc: lisp: 141; makefile: 27; sh: 26
file content (16 lines) | stat: -rwxr-xr-x 278 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

FLAVOR=$1

elc_dir=/usr/share/${FLAVOR}/site-lisp

echo remove/nasm-mode: Handling removal of emacsen flavor ${FLAVOR}

if [ ${FLAVOR} != emacs ]; then
    echo remove/nasm-mode: purging byte-compiled files for ${FLAVOR}

    rm -f ${elc_dir}/*.elc
fi
exit 0