X-Git-Url: http://git.maemo.org/git/?p=tpathy-callback;a=blobdiff_plain;f=debian%2Femacsen-remove.ex;fp=debian%2Femacsen-remove.ex;h=4f158f8e5ec3bce7f1c32357d8d605c52a6b42a6;hp=0000000000000000000000000000000000000000;hb=527c14194dc954788dcb48e0e2a31c1690dbc266;hpb=d93f068e800533935e7dc5f283bd9399c9da6e68 diff --git a/debian/emacsen-remove.ex b/debian/emacsen-remove.ex new file mode 100644 index 0000000..4f158f8 --- /dev/null +++ b/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/telepathy-callback + +FLAVOR=$1 +PACKAGE=telepathy-callback + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/telepathy-callback.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi