File: emacsen-remove

package info (click to toggle)
apel 10.8%2B0.20120427-19
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,476 kB
  • sloc: lisp: 13,215; sh: 128; makefile: 86
file content (14 lines) | stat: -rw-r--r-- 336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
# /usr/lib/emacsen-common/packages/remove/apel
set -e

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

echo "remove/$PACKAGE: purging byte-compiled files for $FLAVOR"
rm -rf "$ELCDIR"
if [ -L "/etc/$FLAVOR/site-start.d/20$PACKAGE.el" ]; then
    rm -f "/etc/$FLAVOR/site-start.d/20$PACKAGE.el"
fi
exit 0