File: emacsen-remove

package info (click to toggle)
hyperlatex 2.9a-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 668 kB
  • ctags: 391
  • sloc: lisp: 2,680; sh: 199; makefile: 84; awk: 21
file content (14 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/hyperlatex
set -e

FLAVOR=$1
echo remove/hyperlatex: Handling removal of emacsen flavor ${FLAVOR}

if [ ${FLAVOR} != emacs ]; then
  echo emacsen-common: purging byte-compiled files for ${FLAVOR}
  rm -f /usr/share/${FLAVOR}/site-lisp/hyperlatex/*.elc
  rm -rf /usr/share/${FLAVOR}/site-lisp/hyperlatex
  rm -f /etc/${FLAVOR}/site-start.d/42hyperlatex.elc
fi
exit 0;