source: projects/specs/trunk/I/IIIMECF/IIIMECF-remove.sh @ 2750

Revision 2750, 872 bytes checked in by munepi, 13 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/foo
3# [ This particular script hasn't been tested either, so be careful. ]
4set -e
5
6FLAVOR=$1
7PACKAGE="IIIMECF"
8
9if [ "X${FLAVOR}" = "X" ]; then
10    echo Need argument to determin FLAVOR of emacs;
11    exit 1
12fi
13
14if [ "X${PACKAGE}" = "X" ]; then
15    echo Internal error: need package name;
16    exit 1;
17fi
18
19ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
20ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
21STARTDIR=/etc/${FLAVOR}/site-start.d
22STARTFILE="${PACKAGE}-init.el";
23
24SITELISP=/usr/share/${FLAVOR}/site-lisp
25
26case "${FLAVOR}" in
27       emacs)
28       ;;
29       # emacs20|emacs21|xemacs21)
30       *)
31
32       echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..."
33       rm -rf ${ELCDIR}
34       rm -f ${STARTDIR}/[0-9][0-9]${STARTFILE}*;
35       echo " done."
36       ;;
37    *)
38       ;;
39esac
40
41exit 0;
42
Note: See TracBrowser for help on using the repository browser.