Line | |
---|
1 | #!/bin/sh -e |
---|
2 | # /usr/lib/emacsen-common/packages/remove/tc-el |
---|
3 | |
---|
4 | FLAVOR=$1 |
---|
5 | PACKAGE=tc-el |
---|
6 | ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} |
---|
7 | STARTDIR=/etc/${FLAVOR}/site-start.d |
---|
8 | STARTFILE="${PACKAGE}-init.el" |
---|
9 | |
---|
10 | if [ ${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." |
---|
19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.