]> code.citadel.org Git - citadel.git/blob - rss2ctdl/debian/emacsen-remove.ex
82a8241023be11ca9e3f7239cfa25ddb6118ece1
[citadel.git] / rss2ctdl / debian / emacsen-remove.ex
1 #!/bin/sh -e
2 # /usr/lib/emacsen-common/packages/remove/rss2ctdl
3
4 FLAVOR=$1
5 PACKAGE=rss2ctdl
6
7 if [ ${FLAVOR} != emacs ]; then
8     if test -x /usr/sbin/install-info-altdir; then
9         echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
10         install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/rss2ctdl.info.gz
11     fi
12
13     echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
14     rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
15 fi