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