tc-el-remove.sh 465 B

123456789101112131415
  1. #!/bin/sh -e
  2. # /usr/lib/emacsen-common/packages/remove/t-code
  3. FLAVOR=$1
  4. PACKAGE=tc-el
  5. if [ ${FLAVOR} != emacs ]; then
  6. # if test -x /usr/sbin/install-info-altdir; then
  7. # echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
  8. # install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/t-code.info.gz
  9. # fi
  10. echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
  11. rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
  12. fi