X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=cuteexplorer%2Fdebian%2Femacsen-remove.ex;fp=cuteexplorer%2Fdebian%2Femacsen-remove.ex;h=2955d9499553ee6ffcd5922bc3129d3b3582c16e;hb=05839590b40b017ba41125b31b93381cbc6aff0b;hp=0000000000000000000000000000000000000000;hpb=9b21bcabd6dc128093b4e8e8193630adaf0575f1;p=cuteexplorer diff --git a/cuteexplorer/debian/emacsen-remove.ex b/cuteexplorer/debian/emacsen-remove.ex new file mode 100644 index 0000000..2955d94 --- /dev/null +++ b/cuteexplorer/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/cuteexplorer + +FLAVOR=$1 +PACKAGE=cuteexplorer + +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/cuteexplorer.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi