File: emacsen-remove

package info (click to toggle)
edb 1.21-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 952 kB
  • ctags: 1,111
  • sloc: lisp: 10,076; makefile: 140; sh: 40
file content (16 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

FLAVOR=$1
PACKAGE=edb

echo remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR}

case ${FLAVOR} in
    emacs)
        echo remove/${PACKAGE}: Ignoring emacsen flavor ${FLAVOR};;
    *)
        echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
        rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE};;
esac

exit 0