File: emacsen-remove

package info (click to toggle)
goby 1.0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,344 kB
  • ctags: 318
  • sloc: lisp: 2,090; makefile: 72; sh: 54
file content (19 lines) | stat: -rw-r--r-- 307 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh
# /usr/lib/emacsen-common/packages/remove/goby
set -e

FLAVOR=$1
PACKAGE=goby

case $FLAVOR in
    emacs|*xemacs*|emacs20|emacs19|mule2)
    exit 0
    ;;
esac

ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE

echo "remove/$PACKAGE: purging byte-compiled files for $FLAVOR"
rm -rf "$ELCDIR"

exit 0