File: cdargs.emacsen-remove

package info (click to toggle)
cdargs 1.35-10
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 724 kB
  • ctags: 398
  • sloc: cpp: 1,185; sh: 491; lisp: 70; makefile: 14; csh: 3
file content (12 lines) | stat: -rw-r--r-- 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -eu

FLAVOR="$1"
echo "remove/cdargs: Handling removal of emacsen flavor $FLAVOR"

if [ "$FLAVOR" != emacs ]
then
    echo "remove/cdargs: purging byte-compiled files for ${FLAVOR}"
    rm -f "/usr/share/$FLAVOR/site-lisp/cdargs.elc"
    rm -f "/usr/share/$FLAVOR/site-lisp/cdargs.el"
fi
exit 0