summaryrefslogtreecommitdiff
path: root/debian/urweb-mode.emacsen-remove
diff options
context:
space:
mode:
Diffstat (limited to 'debian/urweb-mode.emacsen-remove')
-rw-r--r--debian/urweb-mode.emacsen-remove8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/urweb-mode.emacsen-remove b/debian/urweb-mode.emacsen-remove
index b45668c7..9135536d 100644
--- a/debian/urweb-mode.emacsen-remove
+++ b/debian/urweb-mode.emacsen-remove
@@ -1,9 +1,15 @@
#!/bin/sh -e
# /usr/lib/emacsen-common/packages/remove/urweb-mode
+
FLAVOR=$1
PACKAGE=urweb-mode
+
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/share/info/urweb-mode.info.gz
+ fi
+
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
fi
-exit 0