File: remove

package info (click to toggle)
zenirc 2.112-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,116 kB
  • ctags: 770
  • sloc: lisp: 5,806; sh: 217; makefile: 200
file content (16 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (2)
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/zenirc: Handling removal of emacsen flavor ${FLAVOR}

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

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