emacsen-remove.ex 459 B

12345678910111213141516
  1. #!/bin/sh -e
  2. # /usr/lib/emacsen-common/packages/remove/cvm
  3. FLAVOR=$1
  4. PACKAGE=cvm
  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/share/info/cvm.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