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