summaryrefslogtreecommitdiff
path: root/debian/coq.emacsen-remove
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2004-07-15 16:17:58 +0000
committerGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2004-07-15 16:17:58 +0000
commit002fb17410892b80527927a559501b84560d804e (patch)
tree1b7f401f27f3b6d0a70f154036d138500f2b7d65 /debian/coq.emacsen-remove
parent6b649aba925b6f7462da07599fe67ebb12a3460e (diff)
Getting prepared for the licensing-problems-free 8.0 release of COQ.
Diffstat (limited to 'debian/coq.emacsen-remove')
-rw-r--r--debian/coq.emacsen-remove15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/coq.emacsen-remove b/debian/coq.emacsen-remove
new file mode 100644
index 00000000..02b6392c
--- /dev/null
+++ b/debian/coq.emacsen-remove
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/coq
+
+FLAVOR=$1
+PACKAGE=coq
+
+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/coq.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi