summaryrefslogtreecommitdiff
path: root/debian/pylint.emacsen-remove
diff options
context:
space:
mode:
authorroot <none@none>2006-04-26 10:48:09 +0000
committerroot <none@none>2006-04-26 10:48:09 +0000
commit4becf6f9e596b45401680c4947e2d92c953d5e08 (patch)
tree3bb03a16daa8c780bf60c622dc288eb01cfca145 /debian/pylint.emacsen-remove
downloadpylint-git-4becf6f9e596b45401680c4947e2d92c953d5e08.tar.gz
forget the past.
forget the past.
Diffstat (limited to 'debian/pylint.emacsen-remove')
-rw-r--r--debian/pylint.emacsen-remove14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/pylint.emacsen-remove b/debian/pylint.emacsen-remove
new file mode 100644
index 000000000..9795dc45a
--- /dev/null
+++ b/debian/pylint.emacsen-remove
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+FLAVOR=$1
+PACKAGE=pylint
+
+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/${PACKAGE}.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi