File: emacsen-remove

package info (click to toggle)
edb 1.31-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 3,180 kB
  • ctags: 1,236
  • sloc: lisp: 10,484; sh: 424; makefile: 172
file content (15 lines) | stat: -rwxr-xr-x 262 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

FLAVOR=$1
PACKAGE=edb

[ ! "$FLAVOR" = emacs ] || exit 0

echo "remove/$PACKAGE: Handling removal of emacsen flavor $FLAVOR"
echo "remove/$PACKAGE: Purging byte-compiled files for $FLAVOR"

rm -rf /usr/share/$FLAVOR/site-lisp/$PACKAGE

exit 0