source: projects/specs/trunk/t/tc-el/tc-el-remove.sh @ 1694

Revision 1694, 616 bytes checked in by iwaim, 14 years ago (diff)

tc-el 2.3.1-2

Line 
1#!/bin/sh -e
2# /usr/lib/emacsen-common/packages/remove/tc-el
3
4FLAVOR=$1
5PACKAGE=tc-el
6ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
7STARTDIR=/etc/${FLAVOR}/site-start.d
8STARTFILE="${PACKAGE}-init.el"
9
10if [ ${FLAVOR} != emacs ]; then
11#    if test -x /usr/sbin/install-info-altdir; then
12#        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
13#        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/t-code.info.gz
14#    fi
15    echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..."
16    rm -rf ${ELCDIR}
17    rm -f ${STARTDIR}/95${STARTFILE}*
18    echo " done."
19fi
Note: See TracBrowser for help on using the repository browser.