| Revision 2750,
793 bytes
checked in by munepi, 16 years ago
(diff) |
|
updated emacs, emacs24, wl, yatex, auctex, IIIMECF; added wl-beta; supported new vine-default
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | # /usr/lib/emacsen-common/packages/remove/wl |
|---|
| 3 | # [ This particular script hasn't been tested either, so be careful. ] |
|---|
| 4 | |
|---|
| 5 | set -e |
|---|
| 6 | |
|---|
| 7 | FLAVOR=$1 |
|---|
| 8 | PACKAGE="yatex" |
|---|
| 9 | |
|---|
| 10 | if [ "X${FLAVOR}" = "X" ]; then |
|---|
| 11 | echo Need argument to determin FLAVOR of emacs; |
|---|
| 12 | exit 1 |
|---|
| 13 | fi |
|---|
| 14 | |
|---|
| 15 | if [ "X${PACKAGE}" = "X" ]; then |
|---|
| 16 | echo Internal error: need package name; |
|---|
| 17 | exit 1; |
|---|
| 18 | fi |
|---|
| 19 | |
|---|
| 20 | ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} |
|---|
| 21 | ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} |
|---|
| 22 | STARTDIR=/etc/${FLAVOR}/site-start.d |
|---|
| 23 | STARTFILE="${PACKAGE}-init.el"; |
|---|
| 24 | |
|---|
| 25 | SITELISP=/usr/share/${FLAVOR}/site-lisp |
|---|
| 26 | |
|---|
| 27 | PIXMAPDIR=/usr/share/${FLAVOR}/etc/wl |
|---|
| 28 | |
|---|
| 29 | case "${FLAVOR}" in |
|---|
| 30 | |
|---|
| 31 | *) |
|---|
| 32 | |
|---|
| 33 | echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..." |
|---|
| 34 | rm -rf ${ELCDIR} |
|---|
| 35 | rm -f ${STARTDIR}/50${STARTFILE}*; |
|---|
| 36 | echo " done." |
|---|
| 37 | |
|---|
| 38 | ;; |
|---|
| 39 | esac |
|---|
| 40 | |
|---|
| 41 | exit 0; |
|---|
Note: See
TracBrowser
for help on using the repository browser.