Rev | Line | |
---|
[1692] | 1 | #!/bin/sh -e |
---|
[1694] | 2 | # /usr/lib/emacsen-common/packages/remove/tc-el |
---|
[1692] | 3 | |
---|
| 4 | FLAVOR=$1 |
---|
| 5 | PACKAGE=tc-el |
---|
[1694] | 6 | ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} |
---|
| 7 | STARTDIR=/etc/${FLAVOR}/site-start.d |
---|
| 8 | STARTFILE="${PACKAGE}-init.el" |
---|
[1692] | 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 |
---|
[1694] | 15 | echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..." |
---|
| 16 | rm -rf ${ELCDIR} |
---|
| 17 | rm -f ${STARTDIR}/95${STARTFILE}* |
---|
| 18 | echo " done." |
---|
[1692] | 19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.