~ubuntu-branches/ubuntu/utopic/wnn7egg/utopic

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh -e
# /usr/lib/emacsen-common/packages/remove/wnn7egg

FLAVOR=$1
PACKAGE=wnn7egg

STARTDIR=/etc/${FLAVOR}/site-start.d
STARTFILE="${PACKAGE}-init.el";


case "${FLAVOR}" in
    emacs)
    ;;
    emacs21|emacs22|emacs23|emacs-snapshot|xemacs21)
    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
    rm -f ${STARTDIR}/50${STARTFILE}*;
    echo "done."
    ;;
    *)
    ;;
esac

exit 0;