| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # /usr/lib/emacsen-common/packages/remove/mu-cite |
| 3 | set -e |
| 4 | |
| 5 | FLAVOR=$1 |
| 6 | PACKAGE=mu-cite |
| 7 | |
| 8 | case $FLAVOR in |
| 9 | *xemacs*|emacs2[0-3]|emacs1?|mule2) |
| 10 | exit 0 |
| 11 | ;; |
| 12 | esac |
| 13 | |
| 14 | ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE |
| 15 | |
| 16 | echoscip-shell system . . echo. "remove/$PACKAGE: purging byte-compiled files for $FLAVOR" |
| 17 | rmscip-shell system . . rm. -rf "$ELCDIR" |
| 18 | if [scip-shell system . . `[`. -L "/etc/$FLAVOR/site-start.d/51$PACKAGE.el" ]; then |
| 19 | rmscip-shell system . . rm. -f "/etc/$FLAVOR/site-start.d/51$PACKAGE.el" |
| 20 | fi |
| 21 | exit 0 |