File: cdargs.emacsen-remove

package info (click to toggle)
cdargs 1.35-9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 636 kB
  • sloc: cpp: 1,177; sh: 493; lisp: 70; makefile: 14; csh: 3
file content (11 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/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"
fi
exit 0