debian/emacsen-remove.ex
changeset 0 4bc43250587a
child 1 b36b9eee9c41
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/emacsen-remove.ex	Fri Nov 17 10:15:27 2006 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/ha-config
+
+FLAVOR=$1
+PACKAGE=ha-config
+
+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/ha-config.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi