File: remove

package info (click to toggle)
artist 1.1beta1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 316 kB
  • ctags: 333
  • sloc: lisp: 3,370; sh: 194; makefile: 97
file content (13 lines) | stat: -rw-r--r-- 302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/artist

set -e 

FLAVOR=$1
echo remove/artist: 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/artist.elc
fi
exit 0