aboutsummaryrefslogtreecommitdiff
path: root/distrib/debian/coq.emacsen-remove
diff options
context:
space:
mode:
authorcourant2001-04-24 15:07:41 +0000
committercourant2001-04-24 15:07:41 +0000
commit816ae8c64624eee082a54c04b1f4e72e3426d265 (patch)
tree3db7cdc4ba93f8d503024e31d4c2d98f88d95ae3 /distrib/debian/coq.emacsen-remove
parent45e4cf2a722a3f9d43ddc0ed35b17e01a03c2006 (diff)
ajout necessaire pour paquet debian
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1688 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'distrib/debian/coq.emacsen-remove')
-rw-r--r--distrib/debian/coq.emacsen-remove15
1 files changed, 15 insertions, 0 deletions
diff --git a/distrib/debian/coq.emacsen-remove b/distrib/debian/coq.emacsen-remove
new file mode 100644
index 0000000000..02b6392ce2
--- /dev/null
+++ b/distrib/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