summaryrefslogtreecommitdiff
path: root/debian/cscope.emacsen-remove
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-05-23 15:13:26 +0200
committerTobias Klauser <tklauser@distanz.ch>2009-05-23 15:13:26 +0200
commit04b38c4c173cef3b1b12163f1cf5a9b3cef8cb4a (patch)
tree0a39025a7e1b626259a7d940061493bc2fc5c697 /debian/cscope.emacsen-remove
parentf47abb895b3b82d270f3e67b79fec416e78d3fa3 (diff)
Use dh_installemacsen, closes #515164
Diffstat (limited to 'debian/cscope.emacsen-remove')
-rw-r--r--debian/cscope.emacsen-remove11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/cscope.emacsen-remove b/debian/cscope.emacsen-remove
new file mode 100644
index 0000000..2feafac
--- /dev/null
+++ b/debian/cscope.emacsen-remove
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+FLAVOUR=$1
+PACKAGE=cscope
+ELCFILE=xcscope.el
+
+if [ $FLAVOUR != emacs ]; then
+ echo "remove/$PACKAGE: Purging byte-compiled files for $FLAVOUR"
+ rm -f /usr/share/$FLAVOUR/site-lisp/$ELCFILE
+fi