Revision 1719,
517 bytes
checked in by iwaim, 14 years ago
(diff) |
uim 1.6.0-1: add files for emacs lisp
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[1719] | 1 | #!/bin/sh -e |
---|
| 2 | # /usr/lib/emacsen-common/packages/remove/uim-el |
---|
| 3 | |
---|
| 4 | FLAVOR=$1 |
---|
| 5 | PACKAGE=uim-el |
---|
| 6 | |
---|
| 7 | if [ "X${FLAVOR}" = "X" ]; then |
---|
| 8 | echo Need argument to determin FLAVOR of emacs; |
---|
| 9 | exit 1 |
---|
| 10 | fi |
---|
| 11 | |
---|
| 12 | if [ "X${PACKAGE}" = "X" ]; then |
---|
| 13 | echo Internal error: need package name; |
---|
| 14 | exit 1; |
---|
| 15 | fi |
---|
| 16 | |
---|
| 17 | ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} |
---|
| 18 | |
---|
| 19 | case "${FLAVOR}" in |
---|
| 20 | emacs) |
---|
| 21 | ;; |
---|
| 22 | *) |
---|
| 23 | echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..." |
---|
| 24 | rm -rf ${ELCDIR} |
---|
| 25 | echo " done." |
---|
| 26 | ;; |
---|
| 27 | esac |
---|
| 28 | |
---|
| 29 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.