source: projects/specs/trunk/u/uim/uim-el-remove.sh @ 1719

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 *
Line 
1#!/bin/sh -e
2# /usr/lib/emacsen-common/packages/remove/uim-el
3
4FLAVOR=$1
5PACKAGE=uim-el
6
7if [ "X${FLAVOR}" = "X" ]; then
8    echo Need argument to determin FLAVOR of emacs;
9    exit 1
10fi
11
12if [ "X${PACKAGE}" = "X" ]; then
13    echo Internal error: need package name;
14    exit 1;
15fi
16
17ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
18
19case "${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    ;;
27esac
28
29exit 0
Note: See TracBrowser for help on using the repository browser.